Getting the Printer status

LiveCode is the premier environment for creating multi-platform solutions for all major operating systems - Windows, Mac OS X, Linux, the Web, Server environments and Mobile platforms. Brand new to LiveCode? Welcome!

Moderators: FourthWorld, heatherlaine, Klaus, kevinmiller, robinmiller

Post Reply
Lagi Pittas
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 366
Joined: Mon Jun 10, 2013 1:32 pm

Getting the Printer status

Post by Lagi Pittas » Thu May 26, 2016 2:39 pm

Hi

Is it possible (under windows at least) to find out if a printjob actually printed I.e can know if we are out of paper or if the printer is offline or not working?

Regards Lagi

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10052
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Getting the Printer status

Post by FourthWorld » Thu May 26, 2016 2:45 pm

I believe any errors encountered will be reported in "the result" if checked immediately after the "print" command.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Lagi Pittas
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 366
Joined: Mon Jun 10, 2013 1:32 pm

Re: Getting the Printer status

Post by Lagi Pittas » Thu May 26, 2016 3:10 pm

Hi

Thanks Richard.

I placed put statements after the print command and after the close print command and "the result" is always blank whether i have the printer switched off or the cover open to simulate a paper out condition.
I have remote printing of receipts and I wanted to be able to tell the remote tablet if the print server had printed the documents or not.

I feel like a Dalek ready to take over the world and come up to some stairs. :(

Lagi

FourthWorld
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 10052
Joined: Sat Apr 08, 2006 7:05 am
Contact:

Re: Getting the Printer status

Post by FourthWorld » Thu May 26, 2016 4:24 pm

It may be helpful to file a bug report for that with a recipe. That error info would seem critical, IMO, for many apps.
Richard Gaskin
LiveCode development, training, and consulting services: Fourth World Systems
LiveCode Group on Facebook
LiveCode Group on LinkedIn

Lagi Pittas
VIP Livecode Opensource Backer
VIP Livecode Opensource Backer
Posts: 366
Joined: Mon Jun 10, 2013 1:32 pm

Re: Getting the Printer status

Post by Lagi Pittas » Thu May 26, 2016 7:22 pm

HI Richard

The recipe is 100% fails to report anything -- best type of bug in my opinion - you know where the Bomb is everytime so you don't use it.
Never filed a bug before will try and do it in the next day or so , I've got a deadline ready to hit ...

Thanks

lagi

Post Reply