Unconfigured Ad Widget

Unconfigured Ad Widget Module


Announcement Module
No announcement yet.

STRPCCMD to print a document

Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • STRPCCMD to print a document

    I'm trying to issue a STRPCCMD to print a document from a QDLS folder to a network printer. This is the commmand STRPCCMD PCCMD('print I:subfldrsubfldr2mydoc.doc') PAUSE(*YES) Running it this way only works if the user has a printer directly attached to their pc. Most of our users default print to a network printer in their area. Is there a way to code this command so that the output is directed to their default printer? Also, does the "print" command support all document types? We'll be printing *.DOC, *.XLS, *.PDF and other types. We're looking to do silent prints on these documents rather than opening an application and forcing the users to File/print.

  • #2
    STRPCCMD to print a document

    Have you tried creating VBA macros that will print the documents in question, and autoloading the macros? Then use STRPCCMD to open the document that contains the macro. Dave