PC Review
Forums
Newsgroups
Windows XP
Windows XP Print / Fax
I am trying again - What I send into the printqueue is NOT what comes out in the other end :-(
Forums
Newsgroups
Windows XP
Windows XP Print / Fax
I am trying again - What I send into the printqueue is NOT what comes out in the other end :-(
![]() |
I am trying again - What I send into the printqueue is NOT what comes out in the other end :-( |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
I have a printing device with a serial interface.
It is connected to a serial port of a print server, that is connected to the network. To day I am printing from a UNIX box, but I am moving the system to a Windows platform. The application is printing to a LPT-port (e.g. LPT9). LPT9 is redirected to \\server\sharename using NET USE LPT9: \\server\sharename My problem is: What I am sending into LPT9 is NOT what the printing device is receives. My best guess is that the printerdriver on \\server\sharename is trying to interpreter the data received from LPT9. Here is a little example: The \\server\sharename is installed with a driver: Generic/Text only LPT9 receives: 01 50 02 31 41 4B 53 45 .P.1AKSE 4C 42 03 0D 01 56 02 30 LB...V.0 31 34 34 34 34 03 0D 01 14444... 56 02 30 32 33 33 33 33 V.023333 03 0D 01 56 02 30 33 32 ...V.032 32 32 32 03 0D 01 56 02 222...V. 30 34 31 31 31 31 03 0D 041111.. The printing device receives: 0D 0A 0D 0A 20 50 31 41 .... P1A 4B 53 45 4C 42 0D 0A 20 KSELB.. 56 30 31 64 64 64 64 0D V01dddd. 0A 20 56 30 32 63 63 63 . V02ccc 63 0D 0A 20 56 30 33 62 c.. V03b 62 62 62 0D 0A 20 56 30 bbb.. V0 34 61 61 61 61 0D 0A 0D 4aaaa... 0A 0D 0A 0D 0A 0D 0A 0D ........ 0A 0D 0A 0D 0A 0D 0A 0D ........ 0A 0D 0A 0D 0A 0D 0A 0D ........ 0A 0D 0A 0D 0A 0D 0A 0D ........ 0A 0D 0A 0D 0A 0D 0A 0D ........ 0A 0D 0A 0D 0A 0D 0A 0D ........ 0A 0D 0A 0D 0A 0D 0A 0D ........ 0A 0D 0A 0D 0A 0D 0A 0D ........ 0A 0D 0A 0D 0A 0D 0A 0D ........ 0A 0D 0A 0D 0A 0D 0A 0D ........ 0A 0D 0A 0D 0A 0D 0A 0D ........ 0A 0D 0A 0D 0A 0D 0A 0D ........ 0A 0D 0A 0D 0A 0D 0A 0D ........ 0A 0D 0A 0D 0A 0D 0A 0D ........ 0A 0D 0A 0D 0A 0D 0A 0D ........ 0A 0D 0A 0D 0A ..... How can I define a printer, that is totally transparent? Ebbe |
|
|
|
#2 |
|
Guest
Posts: n/a
|
The 0A 0D pairs are line feed / carriage return codes. In properties on the
Generic/Text only driver / Advanced tab / Print Processor button, is default data are you set to type set to RAW? If not, that might be the problem. What print server device are you using? -- "Ebbe" <REMOVE_CAPSebFbHe@iRnGdbHaHkDSke.dRk> wrote in message news:e1688P32FHA.1980@TK2MSFTNGP15.phx.gbl... >I have a printing device with a serial interface. > It is connected to a serial port of a print server, that is connected to > the > network. > To day I am printing from a UNIX box, but I am moving the system to a > Windows platform. > > The application is printing to a LPT-port (e.g. LPT9). > LPT9 is redirected to \\server\sharename using NET USE LPT9: > \\server\sharename > > My problem is: What I am sending into LPT9 is NOT what the printing device > is receives. > > My best guess is that the printerdriver on \\server\sharename is trying to > interpreter the data received from LPT9. > > Here is a little example: > > The \\server\sharename is installed with a driver: Generic/Text only > > LPT9 receives: > 01 50 02 31 41 4B 53 45 .P.1AKSE > 4C 42 03 0D 01 56 02 30 LB...V.0 > 31 34 34 34 34 03 0D 01 14444... > 56 02 30 32 33 33 33 33 V.023333 > 03 0D 01 56 02 30 33 32 ...V.032 > 32 32 32 03 0D 01 56 02 222...V. > 30 34 31 31 31 31 03 0D 041111.. > > The printing device receives: > 0D 0A 0D 0A 20 50 31 41 .... P1A > 4B 53 45 4C 42 0D 0A 20 KSELB.. > 56 30 31 64 64 64 64 0D V01dddd. > 0A 20 56 30 32 63 63 63 . V02ccc > 63 0D 0A 20 56 30 33 62 c.. V03b > 62 62 62 0D 0A 20 56 30 bbb.. V0 > 34 61 61 61 61 0D 0A 0D 4aaaa... > 0A 0D 0A 0D 0A 0D 0A 0D ........ > 0A 0D 0A 0D 0A 0D 0A 0D ........ > 0A 0D 0A 0D 0A 0D 0A 0D ........ > 0A 0D 0A 0D 0A 0D 0A 0D ........ > 0A 0D 0A 0D 0A 0D 0A 0D ........ > 0A 0D 0A 0D 0A 0D 0A 0D ........ > 0A 0D 0A 0D 0A 0D 0A 0D ........ > 0A 0D 0A 0D 0A 0D 0A 0D ........ > 0A 0D 0A 0D 0A 0D 0A 0D ........ > 0A 0D 0A 0D 0A 0D 0A 0D ........ > 0A 0D 0A 0D 0A 0D 0A 0D ........ > 0A 0D 0A 0D 0A 0D 0A 0D ........ > 0A 0D 0A 0D 0A 0D 0A 0D ........ > 0A 0D 0A 0D 0A 0D 0A 0D ........ > 0A 0D 0A 0D 0A 0D 0A 0D ........ > 0A 0D 0A 0D 0A ..... > > How can I define a printer, that is totally transparent? > > Ebbe > |
|
|
|
#3 |
|
Guest
Posts: n/a
|
"Ebbe" <REMOVE_CAPSebFbHe@iRnGdbHaHkDSke.dRk> wrote in message
news:e1688P32FHA.1980@TK2MSFTNGP15.phx.gbl... >I have a printing device with a serial interface. > It is connected to a serial port of a print server, that is > connected to the > network. > To day I am printing from a UNIX box, but I am moving the system to > a > Windows platform. > ... > My problem is: What I am sending into LPT9 is NOT what the printing > device > is receives. > ... > How can I define a printer, that is totally transparent? > If printing to a shared printer using the Windows NT LPD service, control codes are sometimes added to the data stream - it doesn't matter which driver is being used. This can be disabled using the SimulatePassThrough regkey: http://support.microsoft.com/suppor...s/Q150/9/30.asp /klaus |
|
|
|
#4 |
|
Guest
Posts: n/a
|
"Klaus Jorgensen" <kj@no.spam> wrote in message
news:%23XX5iH$2FHA.1140@tk2msftngp13.phx.gbl... > > If printing to a shared printer using the Windows NT LPD service, > control codes are sometimes added to the data stream - it doesn't > matter which driver is being used. This can be disabled using the > SimulatePassThrough regkey: > http://support.microsoft.com/suppor...s/Q150/9/30.asp > Ooops - if printing via "net use" you are probably not using the LPDSVC... /-: What is the source platform, and does it support printing to a file instead of a device to determine if the codes are being added/modified by the local platform or the printer server? If the printer server is a small network box, it might support NetBEUI - these can be addressed directly from Windows clients. /klaus |
|
|
|
#5 |
|
Guest
Posts: n/a
|
Hey!
Unfortunately I discovered, that the problem was what I sent into the LPT-port :-( I had'nt control over the application. After more tests I discovered an error in the application adn then ---- It all worked. Ebbe "Klaus Jorgensen" <kj@no.spam> skrev i en meddelelse news:%23BfNwe$2FHA.3844@TK2MSFTNGP10.phx.gbl... > "Klaus Jorgensen" <kj@no.spam> wrote in message > news:%23XX5iH$2FHA.1140@tk2msftngp13.phx.gbl... >> >> If printing to a shared printer using the Windows NT LPD service, >> control codes are sometimes added to the data stream - it doesn't >> matter which driver is being used. This can be disabled using the >> SimulatePassThrough regkey: >> http://support.microsoft.com/suppor...s/Q150/9/30.asp >> > > Ooops - if printing via "net use" you are probably not using the > LPDSVC... /-: > What is the source platform, and does it support printing to a file > instead of a device to determine if the codes are being added/modified > by the local platform or the printer server? > If the printer server is a small network box, it might support > NetBEUI - these can be addressed directly from Windows clients. > > > /klaus > > > |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

