Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - The use of LPD QNX4 under way, why can't print Russian? (print HP2055dn).: (10 Items)
   
The use of LPD QNX4 under way, why can't print Russian? (print HP2055dn).  
Our company IPC using QNX4.25 operating system and licenses all installation, equipped with laser network printer HP 
P2055dn a (Russian character, no Chinese font).
Now want to use LPD to print a TXT file, the contents of the txt file is russian. But print garbled, and wrap is not 
correct. If the txt file is English, you can print correctly.
A self-examination of the printer, can play a normal Russian character. Did I have a mistake in setting the QNX? Or I am
 not configured?
Specific methods are as follows:
1, the normal use of the network card, the Ping printer (set the printer address is 192.168.16.53)
2, /etc/printcap:
#
P2055dn|P2055dn:\
: rm=192.168.16.53:rp=p2055dn:\
: sd=/usr/spool/output/p2055dn:sh=false:
3, /etc/config/lpsrvr:
#
Example LPSRVR configuration file #
#
This example creates a single device # called "/dev/spool/ps.phs" which
Will support multiple Photon print streams # and give them
At a time to # one the physical Postscript printer connected to "/dev/par1".
#
# Use "lpsrvr & -fThisFile" to make it all happen (put in sysinit)
[]
Define QNX name of this print # spooler
# sp=/qnx/PhSpool
Specify where spool files are kept # (lpsrvr will delete them for you)
# cd=/tmp
[Phps]
Use the Postscript Filter and Feed # into Raw Queue
Ta=nullpt
-l1 co=/usr/photon/bin/Pp.ps $(SPFILE) -Pp2055dn /usr/ucb/lpr
[Phpcl]
Use the PCL Filter and Feed # into Raw Queue
Ta=nullpt
Co=/usr/photon/bin/Pp.pcl $(SPFILE) -Pp2055dn /usr/ucb/lpr
[Phpsc]
Use the Postscript Filter and Feed # into Raw Queue
Ta=nullpt
-l1 co=/usr/photon/bin/Pp.ps $(SPFILE) -Pc2025dn /usr/ucb/lpr
[Phpclc]
Use the PCL Filter and Feed # into Raw Queue
Ta=nullpt
Co=/usr/photon/bin/Pp.pcl $(SPFILE) -Pc2025dn /usr/ucb/lpr
[t]
Ta=nullpt
-Pp2055dn co=/usr/ucb/lpr $(SPFILE)
[tfake]
Co=cat "$(SPFILE)" "$(device)" "
Ta=lptl0
[-lptl]
Dv=/dev/par1
[-lptl0]
Dv=/.registry.log
[-nullpt]
Dv=/dev/null
4, running print command
#lpsrvr &
#lpd &
-Pp2055dn /tmp/1.txt #lpr
I don't know that the /etc/config/sysinit.8 settings will also have a impact, I post it all up
/bin/Fsys #Image:
/bin/Fsys.eide Fsys -Ndsk0 -n0=hd0. -n5=cd0. Eide -a1f0 -i14 #Image:
/bin/mount -p /dev/hd0.0 /dev/hd0.0t77 #Image: /
/bin/sinit TERM=qnxm #Image:
NODE=48 #export
KBD=ru_RU_102.kbd export
ABLANG=ru export
TZ=mst-08 M3.5.0/2, M10.5.0/2, export
-l at /bin/rtc
Dev &
Pipe &
-Q -n6 Dev.ansi &
/dev/con1 reopen
-A /dev/console=/dev/con1 prefix
Dev.par &
-n16 Dev.pty &
# /bin/Fsys.floppy -a3f0 -i6
# /cd=/dev/cd0.0 & /bin/Iso9660fsys
# Define the default CD Rom
# /bin/prefix -A /cd=//0/cd0.0
# mount /dev/fd0 /fd/fd0
-P chkfsys /
/bin/mcyr &
-r license
Nameloc &
LPSRVR=/qnx/spooler export
-f1 /etc/config/cfont/unim.f8 cfont
-f0 /etc/config/cfont/vga cfont!.f16
-a -d Mqueue &
LOGNAME=mag export
/etc/netstart
-c -t "-p -f root login" /dev/con1 tinit &
-c -T "-p -f root login" /dev/con[2-6] tinit &
Re: The use of LPD QNX4 under way, why can't print Russian? (print HP2055dn).  
Hello,

It seems that your printcap file is correct. I have HP LaserJet P2015 printer that should be similar yours I guess. 
Please check Settings / PCL5e / Symbol set option. You have to set this option to PC866CYR to print plain text in 
Cyrillic IBM866 encoding (default Russian encoding for QNX4 console). Please see attached image. If this won't work then
 send me example of file that you're printing.

Respectfully,
Oleg

30 мая 2015 г., в 18:35, wenwei wenwei <community-noreply@qnx.com<mailto:community-noreply@qnx.com>>; напис
ал:

Our company IPC using QNX4.25 operating system and licenses all installation, equipped with laser network printer HP 
P2055dn a (Russian character, no Chinese font).
Now want to use LPD to print a TXT file, the contents of the txt file is russian. But print garbled, and wrap is not 
correct. If the txt file is English, you can print correctly.
A self-examination of the printer, can play a normal Russian character. Did I have a mistake in setting the QNX? Or I am
 not configured?
Specific methods are as follows:
1, the normal use of the network card, the Ping printer (set the printer address is 192.168.16.53)
2, /etc/printcap:
#
P2055dn|P2055dn:\
: rm=192.168.16.53:rp=p2055dn:\
: sd=/usr/spool/output/p2055dn:sh=false:
3, /etc/config/lpsrvr:
#
Example LPSRVR configuration file #
#
This example creates a single device # called "/dev/spool/ps.phs" which
Will support multiple Photon print streams # and give them
At a time to # one the physical Postscript printer connected to "/dev/par1".
#
# Use "lpsrvr & -fThisFile" to make it all happen (put in sysinit)
[]
Define QNX name of this print # spooler
# sp=/qnx/PhSpool
Specify where spool files are kept # (lpsrvr will delete them for you)
# cd=/tmp
[Phps]
Use the Postscript Filter and Feed # into Raw Queue
Ta=nullpt
-l1 co=/usr/photon/bin/Pp.ps $(SPFILE) -Pp2055dn /usr/ucb/lpr
[Phpcl]
Use the PCL Filter and Feed # into Raw Queue
Ta=nullpt
Co=/usr/photon/bin/Pp.pcl $(SPFILE) -Pp2055dn /usr/ucb/lpr
[Phpsc]
Use the Postscript Filter and Feed # into Raw Queue
Ta=nullpt
-l1 co=/usr/photon/bin/Pp.ps $(SPFILE) -Pc2025dn /usr/ucb/lpr
[Phpclc]
Use the PCL Filter and Feed # into Raw Queue
Ta=nullpt
Co=/usr/photon/bin/Pp.pcl $(SPFILE) -Pc2025dn /usr/ucb/lpr
[t]
Ta=nullpt
-Pp2055dn co=/usr/ucb/lpr $(SPFILE)
[tfake]
Co=cat "$(SPFILE)" "$(device)" "
Ta=lptl0
[-lptl]
Dv=/dev/par1
[-lptl0]
Dv=/.registry.log
[-nullpt]
Dv=/dev/null
4, running print command
#lpsrvr &
#lpd &
-Pp2055dn /tmp/1.txt #lpr
I don't know that the /etc/config/sysinit.8 settings will also have a impact, I post it all up
/bin/Fsys #Image:
/bin/Fsys.eide Fsys -Ndsk0 -n0=hd0. -n5=cd0. Eide -a1f0 -i14 #Image:
/bin/mount -p /dev/hd0.0 /dev/hd0.0t77 #Image: /
/bin/sinit TERM=qnxm #Image:
NODE=48 #export
KBD=ru_RU_102.kbd export
ABLANG=ru export
TZ=mst-08 M3.5.0/2, M10.5.0/2, export
-l at /bin/rtc
Dev &
Pipe &
-Q -n6 Dev.ansi &
/dev/con1 reopen
-A /dev/console=/dev/con1 prefix
Dev.par &
-n16 Dev.pty &
# /bin/Fsys.floppy -a3f0 -i6
# /cd=/dev/cd0.0 & /bin/Iso9660fsys
# Define the default CD Rom
# /bin/prefix -A /cd=//0/cd0.0
# mount /dev/fd0 /fd/fd0
-P chkfsys /
/bin/mcyr &
-r license
Nameloc &
LPSRVR=/qnx/spooler export
-f1 /etc/config/cfont/unim.f8 cfont
-f0 /etc/config/cfont/vga cfont!.f16
-a -d Mqueue &
LOGNAME=mag export
/etc/netstart
-c -t "-p -f root login" /dev/con1 tinit &
-c -T "-p -f root login" /dev/con[2-6] tinit &



_______________________________________________

QNX4 Community Support
http://community.qnx.com/sf/go/post113878
To cancel your subscription to this discussion, please e-mail qnx4-community-unsubscribe@community.qnx.com
[cid:BF9E923E-E355-4965-B804-561B5F3DB775@fallback]
Attachment: HTML sf-attachment-mime29895 5.71 KB Image sf-attachment-mime29896 42.98 KB
回复: The use of LPD QNX4 under way, why can't print Russian? (print HP2055dn).  
chinese:
非常感谢您的帮助,请问您的意思是我打印机设置有问题吗?另外,您的图片是windows下的打印机驱动软件吗?我在QNX4下如何能设置
这个选项?
english:
Thank you very much for your help. May I help you? In addition, your picture is Windows printer driver software? How can
 I set up this option under QNX4?




------------------ 原始邮件 ------------------
发件人: "Олег Большаков";<community-noreply@qnx.com>;
发送时间: 2015年6月2日(星期二) 凌晨1:46
收件人: "qnx4-community@community.qnx.com"<qnx4-community@community.qnx.com>; 

主题: Re: The use of LPD QNX4 under way, why can't print Russian? (print HP2055dn).



 Hello,

It seems that your printcap file is correct. I have HP LaserJet P2015 printer that should be similar yours I guess. 
Please check Settings / PCL5e / Symbol set option. You have to set this option to PC866CYR to print plain text in 
Cyrillic IBM866 encoding (default Russian encoding for QNX4 console). Please see attached image. If this won't work then
 send me example of file that you're printing.


Respectfully,
Oleg

30 мая 2015 г., в 18:35, wenwei wenwei <community-noreply@qnx.com> написал:


Our company IPC using QNX4.25 operating system and licenses all installation, equipped with laser network printer HP 
P2055dn a (Russian character, no Chinese font).
Now want to use LPD to print a TXT file, the contents of the txt file is russian. But print garbled, and wrap is not 
correct. If the txt file is English, you can print correctly.
A self-examination of the printer, can play a normal Russian character. Did I have a mistake in setting the QNX? Or I am
 not configured?
Specific methods are as follows:
1, the normal use of the network card, the Ping printer (set the printer address is 192.168.16.53)
2, /etc/printcap:
#
P2055dn|P2055dn:\
: rm=192.168.16.53:rp=p2055dn:\
: sd=/usr/spool/output/p2055dn:sh=false:
3, /etc/config/lpsrvr:
#
Example LPSRVR configuration file #
#
This example creates a single device # called "/dev/spool/ps.phs" which
Will support multiple Photon print streams # and give them
At a time to # one the physical Postscript printer connected to "/dev/par1".
#
# Use "lpsrvr & -fThisFile" to make it all happen (put in sysinit)
[]
Define QNX name of this print # spooler
# sp=/qnx/PhSpool
Specify where spool files are kept # (lpsrvr will delete them for you)
# cd=/tmp
[Phps]
Use the Postscript Filter and Feed # into Raw Queue
Ta=nullpt
-l1 co=/usr/photon/bin/Pp.ps $(SPFILE) -Pp2055dn /usr/ucb/lpr
[Phpcl]
Use the PCL Filter and Feed # into Raw Queue
Ta=nullpt
Co=/usr/photon/bin/Pp.pcl $(SPFILE) -Pp2055dn /usr/ucb/lpr
[Phpsc]
Use the Postscript Filter and Feed # into Raw Queue
Ta=nullpt
-l1 co=/usr/photon/bin/Pp.ps $(SPFILE) -Pc2025dn /usr/ucb/lpr
[Phpclc]
Use the PCL Filter and Feed # into Raw Queue
Ta=nullpt
Co=/usr/photon/bin/Pp.pcl $(SPFILE) -Pc2025dn /usr/ucb/lpr
[t]
Ta=nullpt
-Pp2055dn co=/usr/ucb/lpr $(SPFILE)
[tfake]
Co=cat "$(SPFILE)" "$(device)" "
Ta=lptl0
[-lptl]
Dv=/dev/par1
[-lptl0]
Dv=/.registry.log
[-nullpt]
Dv=/dev/null
4, running print command
#lpsrvr &
#lpd &
-Pp2055dn /tmp/1.txt #lpr
I don't know that the /etc/config/sysinit.8 settings will also have a impact, I post it all up
/bin/Fsys #Image:
/bin/Fsys.eide Fsys -Ndsk0 -n0=hd0. -n5=cd0. Eide -a1f0 -i14 #Image:
/bin/mount -p /dev/hd0.0 /dev/hd0.0t77 #Image: /
/bin/sinit TERM=qnxm #Image:
NODE=48 #export
KBD=ru_RU_102.kbd export
ABLANG=ru export
TZ=mst-08 M3.5.0/2, M10.5.0/2, export
-l at /bin/rtc
Dev &
Pipe &
-Q -n6 Dev.ansi &
/dev/con1 reopen
-A /dev/console=/dev/con1 prefix
Dev.par &
-n16 Dev.pty &
# /bin/Fsys.floppy -a3f0 -i6
# /cd=/dev/cd0.0 & /bin/Iso9660fsys
# Define the default CD Rom
# /bin/prefix -A /cd=//0/cd0.0
# mount /dev/fd0 /fd/fd0
-P chkfsys /
/bin/mcyr &
-r license
Nameloc &
LPSRVR=/qnx/spooler export
-f1 /etc/config/cfont/unim.f8 cfont
-f0 /etc/config/cfont/vga cfont!.f16
-a -d Mqueue &
LOGNAME=mag export
/etc/netstart
-c -t "-p -f root login" /dev/con1 tinit &
-c -T "-p -f...
View Full Message
Attachment: HTML sf-attachment-mime29915 6.39 KB Text sf-attachment-mime29916 42.98 KB
Re: 回复: The use of LPD QNX4 under way, why can't print Russian? (print HP2055dn).  
非常感谢您的帮助,请问您的意思是我打印机设置有问题吗?另外,您的图片是windows下的打印机驱动软件吗?我在QNX4下如何能设置
这个选项?
Re: 回复: The use of LPD QNX4 under way, why can't print Russian? (print HP2055dn).  
Thank you very much for your help. May I help you? In addition, your picture is Windows printer driver software? How can
 I set up this option under QNX4?
Re: The use of LPD QNX4 under way, why can't print Russian? (print HP2055dn).  
Hello,

I’ve configured my printer via web interface. You can use Windows to setup printer. After this you can print under QNX.


Respectfully,
Oleg

2 июня 2015 г., в 17:20:24, wenwei wenwei <community-noreply@qnx.com> написал:

> Thank you very much for your help. May I help you? In addition, your picture is Windows printer driver software? How 
can I set up this option under QNX4?
> 
> 
> 
> _______________________________________________
> 
> QNX4 Community Support
> http://community.qnx.com/sf/go/post113907
> To cancel your subscription to this discussion, please e-mail qnx4-community-unsubscribe@community.qnx.com

回复: The use of LPD QNX4 under way, why can't print Russian? (print HP2055dn).  
Thank you very much. I think your method should be right. I'll go to the company to test tomorrow..




------------------ 原始邮件 ------------------
发件人: "Олег Большаков";<community-noreply@qnx.com>;
发送时间: 2015年6月2日(星期二) 晚上10:46
收件人: "qnx4-community@community.qnx.com"<qnx4-community@community.qnx.com>; 

主题: Re: The use of LPD QNX4 under way, why can't print Russian? (print HP2055dn).



Hello,

I’ve configured my printer via web interface. You can use Windows to setup printer. After this you can print under QNX.


Respectfully,
Oleg

2 июня 2015 г., в 17:20:24, wenwei wenwei <community-noreply@qnx.com> написал:

> Thank you very much for your help. May I help you? In addition, your picture is Windows printer driver software? How 
can I set up this option under QNX4?
> 
> 
> 
> _______________________________________________
> 
> QNX4 Community Support
> http://community.qnx.com/sf/go/post113907
> To cancel your subscription to this discussion, please e-mail qnx4-community-unsubscribe@community.qnx.com





_______________________________________________

QNX4 Community Support
http://community.qnx.com/sf/go/post113909
To cancel your subscription to this discussion, please e-mail qnx4-community-unsubscribe@community.qnx.com
Attachment: HTML sf-attachment-mime29927 1.84 KB
回复: The use of LPD QNX4 under way, why can't print Russian? (print HP2055dn).  
Oleg:


Thank you for your help.! Today I according to your method test, print newline incorrect has been resolved. But still 
cannot print Russian, accessory is the test file, hope you can help me to test you, dear bitter.




                                                      wenwei!


------------------ 原始邮件 ------------------
发件人: "Олег Большаков";<community-noreply@qnx.com>;
发送时间: 2015年6月2日(星期二) 晚上10:46
收件人: "qnx4-community@community.qnx.com"<qnx4-community@community.qnx.com>; 

主题: Re: The use of LPD QNX4 under way, why can't print Russian? (print HP2055dn).



Hello,

I’ve configured my printer via web interface. You can use Windows to setup printer. After this you can print under QNX.


Respectfully,
Oleg

2 июня 2015 г., в 17:20:24, wenwei wenwei <community-noreply@qnx.com> написал:

> Thank you very much for your help. May I help you? In addition, your picture is Windows printer driver software? How 
can I set up this option under QNX4?
> 
> 
> 
> _______________________________________________
> 
> QNX4 Community Support
> http://community.qnx.com/sf/go/post113907
> To cancel your subscription to this discussion, please e-mail qnx4-community-unsubscribe@community.qnx.com





_______________________________________________

QNX4 Community Support
http://community.qnx.com/sf/go/post113909
To cancel your subscription to this discussion, please e-mail qnx4-community-unsubscribe@community.qnx.com
Attachment: HTML sf-attachment-mime29935 2.35 KB
Re: The use of LPD QNX4 under way, why can't print Russian? (print HP2055dn).  
Hello!

Please attach a screenshot with your settings of symbol set and a text file that you print.

Respectfully,
Oleg

3 июня 2015 г., в 11:29:38, 眼镜 <community-noreply@qnx.com> написал:

> Oleg:
> 
> 
> Thank you for your help.! Today I according to your method test, print newline incorrect has been resolved. But still 

> cannot print Russian, accessory is the test file, hope you can help me to test you, dear bitter.
> 
> 
> 
> 
>                                                       wenwei!
> 
> 
回复: The use of LPD QNX4 under way, why can't print Russian? (print HP2055dn).  
Oleg:
  Under your help,The problem has been solved.!thank you very much@_@
Glad to meet you.
I wish you a successful job


wenwei.




------------------ 原始邮件 ------------------
发件人: "Олег Большаков";<community-noreply@qnx.com>;
发送时间: 2015年6月4日(星期四) 晚上6:00
收件人: "qnx4-community"<qnx4-community@community.qnx.com>; 

主题: Re: The use of LPD QNX4 under way, why can't print Russian? (print HP2055dn).



Hello!

Please attach a screenshot with your settings of symbol set and a text file that you print.

Respectfully,
Oleg

3 июня 2015 г., в 11:29:38, 眼镜 <community-noreply@qnx.com> написал:

> Oleg:
> 
> 
> Thank you for your help.! Today I according to your method test, print newline incorrect has been resolved. But still 

> cannot print Russian, accessory is the test file, hope you can help me to test you, dear bitter.
> 
> 
> 
> 
>                                                       wenwei!
> 
> 




_______________________________________________

QNX4 Community Support
http://community.qnx.com/sf/go/post113922
To cancel your subscription to this discussion, please e-mail qnx4-community-unsubscribe@community.qnx.com
Attachment: HTML sf-attachment-mime29949 2.02 KB