My computer is installed with QNX6.1 and I meet several problem with
When I print text file under ped, the ¡°Send to Printer¡± option is
Disabled. It seem that no printer is installed. So I can only print it to a
file, and then send the *.phs file to a HP Printer by using the following
#phs-to-pcl print1.phs > /dev/par1
How can I print directly to printer under ped?
2) Even though I can print indirectly by using phs-to-pcl on host with
QNX6.1 installed, I can¡¯t print *.phs file on a target. I use a bootable
image to start photon on the target system and I also copy all the lib and
font file needed. But when I run phs-to-pcl, there is no response from the
printer. What¡¯s wrong? Do I miss any important config file for printer?
3) In a photon program, how to sending print job directly to a printer?
What kind of context should I set? I set the following context data before
start a print job:
PpSetPC( pc, Pp_PC_FILENAME, ¡°/dev/par1¡±,0);
PpSetPC( pc, Pp_PC_DRIVER, ¡°phs-to-pcl¡±,0);
After run, the printer print several page with a lot unknow wrong
- In photon programer¡¯s guide, It says that the possible value and
meanings for the members of a print context are defined in
/usr/photon/print/printers. But why I can¡¯t find this file and even the