PC Review


Reply
Thread Tools Rate Thread

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

 
 
Ebbe
Guest
Posts: n/a
 
      28th Oct 2005
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
 
 
 
 
GTS
Guest
Posts: n/a
 
      28th Oct 2005
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>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
 
Klaus Jorgensen
Guest
Posts: n/a
 
      28th Oct 2005
"Ebbe" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>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/support.../Q150/9/30.asp


/klaus



 
Reply With Quote
 
Klaus Jorgensen
Guest
Posts: n/a
 
      28th Oct 2005
"Klaus Jorgensen" <(E-Mail Removed)> wrote in message
news:%23XX5iH$(E-Mail Removed)...
>
> 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/support.../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
 
Ebbe
Guest
Posts: n/a
 
      4th Nov 2005
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" <(E-Mail Removed)> skrev i en meddelelse
news:%23BfNwe$(E-Mail Removed)...
> "Klaus Jorgensen" <(E-Mail Removed)> wrote in message
> news:%23XX5iH$(E-Mail Removed)...
>>
>> 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/support.../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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Monitor a printqueue Ben van Erp Microsoft Dot NET Framework 0 1st Dec 2007 11:02 AM
Printqueue info in AD Nik Microsoft Windows 2000 Printing 0 29th Oct 2004 11:13 AM
PrintQueue Container Lois Microsoft Windows 2000 Terminal Server Applications 1 2nd Dec 2003 04:57 PM
PrintQueue in AD Mike Microsoft Windows 2000 Printing 0 4th Sep 2003 08:00 AM
Could not create PrintQueue in AD Mihhail Sergejev Microsoft Windows 2000 Printing 0 28th Aug 2003 10:19 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:47 PM.