Re: printing in Windows XP




"ld" <nieznany@xxxxx> wrote in message
news:dvbnd1$2q$1@xxxxxxxxxxxxxxxxxxxxxx
Hi,

We have some software created with clipper 5.2.

There is a problem with printing directly to lpt1: after some lines
(10-30) the printing becomes very slow (a line, 2 seconds, another line
and so on). When I exit the program normal printing resumes.

The printer is local.

I have searched the group archive, found few posts describing similar
problems but the solutions proposed didn't work. I have tried:

- changing the lpt timeout value in the registry (though I didn't think it
would work)
- changing some values in system.ini files (but they were in section
[network], so same above)


the program begins the printing with

set printer to lpt1
set device to printer

and ends with
set device to screen
set printer to
set printer OFF


I have also tried to add:
set printer to lpt1
set device to printer
set device to screen
set printer to
set printer OFF

right after the real printing is done, hoping that it could "push" the
real printout, but it didn't work.

Any suggestions?

Any ideas what causes it?


ld

I seldom have a problem with Windows XP and printing to LPT1. But I use the
commands:

SET PRINTER TO LPT1 // this is optional
SET PRINT ON
SET CONSOLE OFF
(I never use 'SET DEVICE')
and after printing:
SET PRINT OFF
SET CONSOLE ON

I presume you are using a non-windows-only printer that can print ASCII
data. The only time that I have any problems is when a Windows printer
spooler intercepts the print data. I advise, if the printer is not shared
on the network, to simply not install any Windows printer driver.

Another tip: In the computer's CMOS settings, set the parallel printer port
to Standard or SPP. It cures handshaking problems with some printers.

HTH
---
Norman Perelson
www.shopkeeper.co.za


.



Relevant Pages

  • RE: DOS Printing
    ... If I type "net use lpt1:" at the cmd prompt it ... is pointing to my printer. ... the print queue and shows it printing then that it printed. ... Command through the USB. ...
    (microsoft.public.windowsxp.print_fax)
  • Re: printing in Windows XP
    ... There is a problem with printing directly to lpt1: ... set printer to lpt1 ... set device to printer ...
    (comp.lang.clipper)
  • Re: Raw printing problems.
    ... you do not need to install a printer to write data to LPT1. ... I've expanded the scope of the printing testing. ...
    (microsoft.public.windowsxp.print_fax)
  • Re: Print DOS print jobs
    ... > In Windows XP when I print to the printer (LPT1:), from DOS, then my jobs ... > printing, but they never print. ... Do you print from Windows programs as well? ...
    (microsoft.public.win2000.cmdprompt.admin)
  • Re: Mapped Network Printer to LPT1 hanging programs
    ... > to LPT1. ... All printers are networked. ... When you invoke printing to the mapped LPT1, ... Printfil - Windows Printing System for Applications ...
    (microsoft.public.windowsxp.print_fax)