Source language: Translate to:

Printing with PrintImageFileWH Action Command

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

Printing with PrintImageFileWH Action Command

Postby ajhunt » Tue Apr 25, 2017 6:28 am

Hi all, I am using the "PrintImageFileWH" action command but am finding that it's not printing more than one images in a row, it prints one then stops printing. After resetting the printer by on and off it prints the next image. I'm having to basically reset the printer after a print. Is there a command to reset the printer after a print? Maybe this will help resolve my issue. Any helpful suggestions always appreciated. The command I am using is: "PrintImageFileWH "[TempFolder]Printout.jpg" "6.1466666666666665" "2.066666666666667". It is an image file 1844x620 pixels and converted to inches as needed. I notice that when the printer comes back it prints a tiny line of the previous image and eventually prints the next image file. Best regards Anthony
ajhunt
 
Posts: 215
Joined: Sat Apr 23, 2005 2:33 pm
Location: United Kingdom

Re: Printing with PrintImageFileWH Action Command

Postby HackinHoodLogicsTm » Tue Apr 25, 2017 11:03 am

Hi Anthony am sure the issue is not from Neobook but rather from your printer.
I tried this command worked perfectly.

Syntax: [ Download ] [ Hide ]
Using Neobook Syntax Highlighting
PrintImageFileWH "G:\MTTR\images\about.png" "0" "0"
PrintImageFileWH "G:\MTTR\images\arrows_green.png" "0" "0"
Parsed in 0.005 seconds, using GeSHi 1.0.8.10


Did you try it on a different printer?
I am proud to be a Neobooker!!!
www.neosoftware.com
Special Thanks To
Mr. David Riley
User avatar
HackinHoodLogicsTm
 
Posts: 120
Joined: Wed Aug 28, 2013 7:03 am
Location: Ghana

Re: Printing with PrintImageFileWH Action Command

Postby ajhunt » Tue Apr 25, 2017 1:22 pm

Hi HackinHoodLogicsTm, that works great for me too except the images don't print at size required (6.15 x 2.07 inches). A workround found being stop the print spool, delete anything left in folder PRINTERS and then restart print spool.
ajhunt
 
Posts: 215
Joined: Sat Apr 23, 2005 2:33 pm
Location: United Kingdom


Return to NeoBook Action Commands

Who is online

Users browsing this forum: No registered users and 1 guest