Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Printing 5 raw characters to a printer Post 302085505 by Friğrik on Thursday 17th of August 2006 03:57:05 PM
Old 08-17-2006
Solved.

The problem was not anything about the printer setup. I wasn't using the -oraw parameter (which makes it a raw command). This is the solution then:

Open drawer: echo -e "\033\160\060\067\171" | lpr -P Skuffa -oraw
Receipt cutter: echo -e "\033\155" | lpr -P Skuffa -oraw

Thank you for your help.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

Raw text to IP Printer

We were printing to a serial laser printer with all the HP codes to generate a form (i.e. lines, boxes, etc.) We are switching to an IP printer and we can no longer print to the device (i.e. cp text /dev/tty11). It looks like we have to use the lp spooler now. When we do this the codes are ignored... (0 Replies)
Discussion started by: jeffbugfree
0 Replies

2. SCO

Printing from SCO 5.05... to XP Shared Printer

I am having trouble getting our accounting program (on SCO 5.05) to print to a shared windows printer. We used to use a program that took care of this PCI print server or somehting like that. but when XP service pack 2 got installed somethign happened with the permissions and the files would... (2 Replies)
Discussion started by: LarryG
2 Replies

3. HP-UX

Printing Problem With Hp4250n Printer?

Hi all;:) I have the following strange problem with my network printer Hp Laser jet 4250n working with Hp9000 rp3410 Servers , it prints well under Microsoft windows operation system ,,, But under Hp Unix 11.1 applications such as text editor the printing font is very small (size 4) ; one... (2 Replies)
Discussion started by: Michel Boss
2 Replies

4. HP-UX

Printer Only Printing First Line

Hi all, I've got this issue which has me stumped. Any help would be greatly appreciated. Printers which i have added through SAM, as remote printers with their IP address, only print the first line. Any text file is sent through to the printer only prints the very first line of the file, and the... (18 Replies)
Discussion started by: nubix
18 Replies

5. UNIX for Dummies Questions & Answers

Printing Landscape to PCL 6 Printer

I've looked around and am able to print landscape to a PCL 5 printer with this command: lp -o landscape -o cpi=20 -o page-right=30 -o page-left=30 -d <printer> <file>. Which gives me a nice 200 columns. But, when I send the same output and the same commands to a PCL 6 printer, it comes... (3 Replies)
Discussion started by: tariqjamal
3 Replies

6. AIX

Printing to Local Printer.

This is an easy one but have no clue how to start. I am connecting via a PC running XP using putty. I have a printer attached to my PC. I need to print stuff. How can I set up this printer? Thanks !:eek: ---------- Post updated at 18:22 ---------- Previous update was at 16:38 ---------- The... (2 Replies)
Discussion started by: 300zxmuro
2 Replies

7. AIX

Problem with printing ps files to printer

We have a post script enabled printer setup. But when we send any .ps file using ps to this printer we are getting this error: Cannot print postscript file because No postscript print queue exists for this printer. Print queue name Xerox Printer name... (0 Replies)
Discussion started by: mansmaan
0 Replies

8. Solaris

No printing from PRINTRONIX P5215 printer with Solaris 10

No issue with HP Laserjet printer. Using same method (as below) to configure the Printronix printer in Solaris 9, no issue. Solaris with the Printronix Interface file (pnet.if) Configure Unix: 1)First download the pnet.if. 2) Log in to Unix server as root (or another username that... (1 Reply)
Discussion started by: KhawHL
1 Replies

9. UNIX for Beginners Questions & Answers

Tru64 Printing to something other than a printer

I have been searching for a solution to a printing issue for several months now and have come up with no decently working solution. Please give input. We have an old inventory control program running on TRU64 Unix V5.1B operating system. Around 2003 it was virtualized onto VMware via AVT's... (1 Reply)
Discussion started by: Ken_Snauffer
1 Replies

10. Solaris

Printer printing control codes

Solaris 10: Having some trouble with a new printer printing control codes. This is an HP MFP M632. Tried a few ppd files and without a ppd file using commands similar to the follow: lpadmin -p L4102A -v /dev/null -m netstandard -n... (1 Reply)
Discussion started by: kuliksco
1 Replies
egd(3erl)						     Erlang Module Definition							 egd(3erl)

NAME
egd - egd - erlang graphical drawer. DESCRIPTION
egd - erlang graphical drawer DATA TYPES
color() : egd_image() : font() : point() = {integer(), integer()} : render_option() = {render_engine, opaque} | {render_engine, alpha} : EXPORTS
color(Color::Value | Name) -> color() Types Value = {byte(), byte(), byte()} | {byte(), byte(), byte(), byte()} Name = black | silver | gray | white | maroon | red | purple | fuchia | green | lime | olive | yellow | navy | blue | teal | aqua Creates a color reference. create(Width::integer(), Height::integer()) -> egd_image() Creates an image area and returns its reference. destroy(Image::egd_image()) -> ok Destroys the image. filledEllipse(Image::egd_image(), P1::point(), P2::point(), Color::color()) -> ok Creates a filled ellipse object. filledRectangle(Image::egd_image(), P1::point(), P2::point(), Color::color()) -> ok Creates a filled rectangle object. line(Image::egd_image(), P1::point(), P2::point(), Color::color()) -> ok Creates a line object from P1 to P2 in the image. rectangle(Image::egd_image(), P1::point(), P2::point(), Color::color()) -> ok Creates a rectangle object. render(Image::egd_image()) -> binary() Equivalent to render(Image, png, [{render_engine, opaque}]) . render(Image::egd_image(), Type::png | raw_bitmap) -> binary() Equivalent to render(Image, Type, [{render_engine, opaque}]) . render(Image::egd_image(), Type::png | raw_bitmap, Options::[render_option()]) -> binary() Renders a binary from the primitives specified by egd_image(). The binary can either be a raw bitmap with rgb tripplets or a binary in png format. save(Binary::binary(), Filename::string()) -> ok Saves the binary to file. text(Image::egd_image(), P::point(), Font::font(), Text::string(), Color::color()) -> ok Creates a text object. AUTHORS
<> percept 0.8.5 egd(3erl)
All times are GMT -4. The time now is 02:00 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy