Printing with PrintImageFileWH Action Command

Questions about using NeoBook's scripting language

Moderator: Neosoft Support

Locked
ajhunt
Posts: 266
Joined: Sat Apr 23, 2005 2:33 pm
Location: United Kingdom
Contact:

Printing with PrintImageFileWH Action Command

Post by ajhunt »

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
User avatar
HackinHoodLogicsTm
Posts: 131
Joined: Wed Aug 28, 2013 7:03 am
Location: Ghana
Contact:

Re: Printing with PrintImageFileWH Action Command

Post by HackinHoodLogicsTm »

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

[syntax=neobook]PrintImageFileWH "G:\MTTR\images\about.png" "0" "0"
PrintImageFileWH "G:\MTTR\images\arrows_green.png" "0" "0"[/syntax]

Did you try it on a different printer?
I am proud to be a Neobooker!!!
www.neosoftware.com
Special Thanks To
Mr. David Riley
ajhunt
Posts: 266
Joined: Sat Apr 23, 2005 2:33 pm
Location: United Kingdom
Contact:

Re: Printing with PrintImageFileWH Action Command

Post by ajhunt »

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.
Locked