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 :-(

Reply

I am trying again - What I send into the printqueue is NOT what comes out in the other end :-(

 
Thread Tools Rate Thread
Old 28-10-2005, 05:59 AM   #1
Ebbe
Guest
 
Posts: n/a
Default I am trying again - What I send into the printqueue is NOT what comes out in the other end :-(


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


  Reply With Quote
Old 28-10-2005, 05:33 PM   #2
GTS
Guest
 
Posts: n/a
Default Re: I am trying again - What I send into the printqueue is NOT what comes out in the other end :-(

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
>



  Reply With Quote
Old 28-10-2005, 09:00 PM   #3
Klaus Jorgensen
Guest
 
Posts: n/a
Default Re: I am trying again - What I send into the printqueue is NOT what comes out in the other end :-(

"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



  Reply With Quote
Old 28-10-2005, 09:42 PM   #4
Klaus Jorgensen
Guest
 
Posts: n/a
Default Re: I am trying again - What I send into the printqueue is NOT what comes out in the other end :-(

"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



  Reply With Quote
Old 04-11-2005, 06:29 PM   #5
Ebbe
Guest
 
Posts: n/a
Default Re: I am trying again - What I send into the printqueue is NOT what comes out in the other end :-(

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
>
>
>



  Reply With Quote
Reply



Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off