LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices


Reply
  Search this Thread
Old 04-11-2001, 10:50 AM   #1
cDevX99
LQ Newbie
 
Registered: Apr 2001
Location: NY
Posts: 4

Rep: Reputation: 0
Question


I an writing an intranet application that involves the printing of badges for access to events, the previous method used was to load a page that contained the badge data then javascript was used to say window.print(); The new method uses a linux server with several printers attached running a web server. When the users print a badge a perl script is loaded that opens the appropriate printer port ( /dev/lp0, /dev/lp1 ) as though it were a file and dumps the text to print ......very fast! however to change the form length to the right size I need to send an escape sequence to the printer .... the decimal version is 27 67 0 2.5 ( this is the okidata sequence to change the form length to 2.5 inches ) How can I make this happen, I am running out of hair to pull out!!!!

[Edited by cDevX99 on 04-12-2001 at 02:18 PM]
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
What are good PHP resources for a web developer? Basel Programming 1 11-29-2005 04:02 AM
Problem with perl module for w3c validator to work on my local Apache+PHP+perl instal tbamt Linux - Software 0 12-16-2004 05:37 PM
Hiding code in PERL, perl gui question randomx Programming 1 06-26-2004 03:22 PM
Perl vs PHP costasm Programming 22 01-17-2004 05:00 PM
chrooting apache v2 (php, ssl, perl support) ; perl configuration markus1982 Linux - Security 3 01-26-2003 06:15 PM

LinuxQuestions.org > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 02:25 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration