Skip to main content

[archive] Printing Issues - USB Port

  • December 10, 2008
  • 8 replies
  • 0 views

[Migrated content. Thread originally posted on 10 December 2008]

Do you print using the spooler features (-P SPOOLER or -Q printer name) or do you do a direct print (-P SPOOLER-DIRECT or -Q printer name;DIRECT=ON)?

8 replies

[Migrated content. Thread originally posted on 10 December 2008]

Do you print using the spooler features (-P SPOOLER or -Q printer name) or do you do a direct print (-P SPOOLER-DIRECT or -Q printer name;DIRECT=ON)?
Hi,

I have an application that prints perfectly to a parallel port. A problem arises when I try to print to a USB port. The print job goes through, but does not print. I can see the job in the print queue for a little while - then it deletes without printing.
Could the problem be with my application or with the printer ?

Thanks for any assistance.

Medasha

[Migrated content. Thread originally posted on 10 December 2008]

Do you print using the spooler features (-P SPOOLER or -Q printer name) or do you do a direct print (-P SPOOLER-DIRECT or -Q printer name;DIRECT=ON)?
Hi,

I have an application that prints perfectly to a parallel port. A problem arises when I try to print to a USB port. The print job goes through, but does not print. I can see the job in the print queue for a little while - then it deletes without printing.
Could the problem be with my application or with the printer ?

Thanks for any assistance.

Medasha

[Migrated content. Thread originally posted on 10 December 2008]

Do you print using the spooler features (-P SPOOLER or -Q printer name) or do you do a direct print (-P SPOOLER-DIRECT or -Q printer name;DIRECT=ON)?
Does it work from other applications?

[Migrated content. Thread originally posted on 10 December 2008]

Do you print using the spooler features (-P SPOOLER or -Q printer name) or do you do a direct print (-P SPOOLER-DIRECT or -Q printer name;DIRECT=ON)?
Yes it does print from other applications such as notepad etc. They can also print a test page to the printer.

[Migrated content. Thread originally posted on 10 December 2008]

Do you print using the spooler features (-P SPOOLER or -Q printer name) or do you do a direct print (-P SPOOLER-DIRECT or -Q printer name;DIRECT=ON)?
Hi,

We specify the following in the config file :

printer1 -d \\\\computer-name\\share-name

[Migrated content. Thread originally posted on 10 December 2008]

Do you print using the spooler features (-P SPOOLER or -Q printer name) or do you do a direct print (-P SPOOLER-DIRECT or -Q printer name;DIRECT=ON)?
Hi,

We specify the following in the config file :

printer1 -d \\\\computer-name\\share-name

[Migrated content. Thread originally posted on 10 December 2008]

Do you print using the spooler features (-P SPOOLER or -Q printer name) or do you do a direct print (-P SPOOLER-DIRECT or -Q printer name;DIRECT=ON)?
You may want to try "- P SPOOLER-DIRECT" so it uses the Windows spooler.

[Migrated content. Thread originally posted on 10 December 2008]

Do you print using the spooler features (-P SPOOLER or -Q printer name) or do you do a direct print (-P SPOOLER-DIRECT or -Q printer name;DIRECT=ON)?
If the printer is being shared from another PC as a resource, you should be able to use that syntax. However, as is the case with many of the USB printers, they tend to be so called Windows printers. That means, they have no logic embedded, so they are entirely dependent on the logic processed by the printer driver. If this is the case here, it explains your experience as the printer will not be able to understand what you are sending.
A way to verify whether this is true or not, is to try executing the prndemox.cbl program in your sample folder. This will let you select the printer and print to it, using the spooler. If this works, it proves that the printer does not support so called DOS printing, e.g. it has to go through the spooler.

You may also try using:

printer1 -Q printername;DIRECT=ON

replace printername with the name of the printer as it appears in the list of printers provided by the prndemox.cbl. Do note however, that this implies that the printer has been installed on the local machine.