Posts: 4,707
Threads: 224
Joined: Apr 2022
Reputation:
322
04-11-2024, 05:00 PM
(This post was last modified: 04-11-2024, 05:00 PM by bplus.)
yeah the second sleep not really needed except to avoid the 'press any key to end' message once end keyword is executed.
what was epson saying in error message? i ask because i don't think epson gets either sleep signal but nice joke anyway
724 855 599 923 575 468 400 206 147 564 878 823 652 556 bxor cross forever
Posts: 909
Threads: 38
Joined: Apr 2022
Reputation:
72
04-11-2024, 05:13 PM
(This post was last modified: 04-11-2024, 05:33 PM by SpriggsySpriggs.)
If you want to spend time learning a smidge of PCL, you could print colored text to a printer. Or, you could use WinGDI like I did.
https://qb64phoenix.com/forum/showthread...ght=wingdi
Hmmm.... The weird thing is that now that code no longer works. It used to work great. Might need someone else to give that a test.
The noticing will continue
Posts: 474
Threads: 70
Joined: Apr 2022
Reputation:
18
Hi b+ , the Epson screen displayed " Print Error..See your documentation for more details". When I went into the "Mange Documents", it simply said "Error - Printing Paused". There were a couple of things I tried like turning everything off and on again but it was only when I went thru the code commenting the odd line out, I found the printer printed ok with the second SLEEP commented out.
Now since then, while printing a spreadsheet I've been working on, I found my printer in Portrait mode, which I swear I had in Landscape mode. Got me wondering if the printer was in Landscape mode when I tried to print Steve's code. I have the default setting of my Epson now in Portrait and Steve's code, even with the second SLEEP uncommented it works fine.
I'm not sure why the REM of the 2nd SLEEP worked unless Steve's code actually forced the default to change to Portrait. Things that make you go huuuuuuuum.
Posts: 3,450
Threads: 376
Joined: Apr 2022
Reputation:
346
Did the printer perhaps see the resolution and automatically swap modes to protrait? The 850x1100 resolution would be for portrait printing (which is how most folks print documents). Try it again at 1100x850 resolution and see if the program makes it print in landscape mode for you.
Posts: 474
Threads: 70
Joined: Apr 2022
Reputation:
18
Steve - printer did not print in landscape. The words printed were elongated but the page portrait orientated