Announcement

Collapse
No announcement yet.

Is the printer on-line and ready?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Michael Mattias
    replied
    FWIW, this source code posting....



    .. has all the literals typed for you if you want to make a demo function which looks something like...

    Code:
    FUNCTION getPRinterStatus (PrinterName AS STRING) AS STRING
    
    END FUNCTION
    
    ...
       PrinterName = (Get a printername, using PrintDLG() or PRINTER$)
       MSGBOX GetPrinterStatus (Printername)

    Leave a comment:


  • Michael Mattias
    replied
    OpenPrinter
    GetPrinter
    Query status member of PRINTER_INFO_2

    Yes, your demo in Source Code Forum of same will be appreciated.

    Leave a comment:


  • Mel Bishop
    started a topic Is the printer on-line and ready?

    Is the printer on-line and ready?

    I'm writing a program that produces some heavy-duty print-out's.

    Currently, to save paper and print media, I am printing to CutePDF and bringing up the .PDF file to check output.

    However, sometimes, I miss my mark and try to print to a physical printer when it's turned off. Not what I'm expecting.

    Is there a generic way of checking a printers status as to whether it's on-line and paper ready, or is this question printer specific?
Working...
X