|
From: Ian W. <lak...@ho...> - 2001-09-11 20:20:17
|
hello everyone. im writing a program in c++ and i need to be able to print out text to a printer. i was just wondering if anyone knows how to do this. thankyou. ian. _________________________________________________________________ Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp |
|
From: CARLSON, J. M. <CA...@st...> - 2003-06-08 20:59:04
|
I am sure this has got to be simple, but I have yet to find any documetation.... How can you print to the printer instead of the screen in C++ Thanks for any help, Jay |
|
From: Goran <go...@de...> - 2003-06-14 22:31:31
|
Does anybody know for some nice crossplatform "RichText" printing library. I need to print small report from selected data in my app. I am using GTK for GUI, so I would like some printing-only library. It needs to work on Linux (with CUPS) and on Windows. Thanx in advance, Goran Rakic |
|
From: Terry O. <te...@st...> - 2004-12-01 19:40:44
|
How do you print from dev-cpp programs? Is there a tutorial or devpak or something that would be helpful? |
|
From: darren <dar...@nt...> - 2004-12-01 23:46:57
|
From windows, Unix, printing a listing? =20 ----- Original Message -----=20 From: Terry Orgill=20 To: dev...@li...=20 Sent: Wednesday, December 01, 2004 8:03 PM Subject: [Dev-C++] Printing How do you print from dev-cpp programs? Is there a tutorial or devpak = or something that would be helpful? |
|
From: Terry O. <te...@st...> - 2004-12-02 00:20:14
|
Sending program output to a printer. Such as an invoice or ap check. -----Original Message----- From: darren [mailto:dar...@nt...] Sent: Wednesday, December 01, 2004 3:47 PM To: Terry Orgill; dev...@li... Subject: Re: [Dev-C++] Printing From windows, Unix, printing a listing? ----- Original Message ----- From: Terry Orgill <mailto:te...@st...> To: dev...@li... Sent: Wednesday, December 01, 2004 8:03 PM Subject: [Dev-C++] Printing How do you print from dev-cpp programs? Is there a tutorial or devpak or something that would be helpful? |
|
From: spiro h. <spi...@gm...> - 2004-12-02 00:37:27
|
>> From windows, Unix, printing a listing? > Sending program output to a printer. Such as an invoice or ap check. http://www.google.com/search?q=learn+how+to+program+in+C -- "Here's a bucket, go and kick it." -- Kill Yourself (Stormtroopers of Death) my life: http://spiroharvey.blogspot.com |
|
From: Alfredo C. <al...@cl...> - 2004-12-02 13:44:41
|
El Mi=E9 01 Dic 2004 18:42, Terry Orgill escribi=F3: > Sending program output to a printer. Such as an invoice or ap check. > I use two ways: 1. Send formatted output to a file, and then use the system command to send= it=20 to a printer. This works for printing to a form using dot matrix printers. 2. I use wxWidgets, and wxReportWriter (http://www.daily.de/RepWrt/) to pri= nt=20 nice looking reports. This is used to print to ink jets or laser printers. HTH. Regards. =2D-=20 Alfredo J. Cole Grupo ACyC www.acyc.com - www.clshonduras.com - SolCom - www.acycdomains.com |
|
From: Per W. <pw...@ia...> - 2004-12-02 14:26:41
|
No need to send the formatted output to a file and then use system(). You can send it directly to the prn device instead. Faster, simpler and without need for buffering. /Per W On Thu, 2 Dec 2004, Alfredo Cole wrote: > El Mi=E9 01 Dic 2004 18:42, Terry Orgill escribi=F3: > > Sending program output to a printer. Such as an invoice or ap check. > > > > I use two ways: > > 1. Send formatted output to a file, and then use the system command to se= nd it > to a printer. This works for printing to a form using dot matrix printers= =2E > 2. I use wxWidgets, and wxReportWriter (http://www.daily.de/RepWrt/) to p= rint > nice looking reports. This is used to print to ink jets or laser printers= =2E > > HTH. Regards. > > -- > Alfredo J. Cole > Grupo ACyC > www.acyc.com - www.clshonduras.com - SolCom - www.acycdomains.com > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Terry O. <te...@st...> - 2004-12-02 01:06:14
|
Ok. Let me be a little more specific. I have been programming in c in a unix and linux environment for years. I know how to format and print output in that environment, whether it be to the print spooler or directly through a serial port or whatever. Windows is a different critter. If I want to submit output to the windows print spooler, how do I do that? If there are multiple printers available to the windows workstation, how do I allow the user to select which printer? Are there tools to format the output; fonts, pitches, scalable graphics? I have a complete suite of text based accounting applications, written in c that I intend to port to a windows environment and I need to know if Dev-cpp, MySQL and FLTK will get me where I need to go. It is my understanding that FLTK 1.2 will eventually support print formatting. It=92s the eventually part that worries me. Maybe there is a better way to go. I have given WxWindows a look as well. I did some prototyping with MySQL and FLTK in Cygwin, but I would prefer to use Dev-cpp.=20 |
|
From: Daniel K. O. <dan...@ya...> - 2004-12-02 04:43:56
|
Terry Orgill wrote: > It is my understanding that FLTK 1.2 will eventually support print > formatting. It’s the eventually part that worries me. Maybe there is a > better way to go. I have given WxWindows a look as well. I did some > prototyping with MySQL and FLTK in Cygwin, but I would prefer to use > Dev-cpp. > The "L" in FLTK stands for "light", it's a "light" GUI library. Printing is something specific, and most GUI libraries don't support it. Use wxWidgets if you don't want to learn a separated library just for printing. Daniel K. O. |
|
From: Per W. <pw...@ia...> - 2004-12-02 12:53:15
|
I second the recommendation to take a look at wxWidgets. /Per W On Thu, 2 Dec 2004, Daniel K. O. wrote: > Terry Orgill wrote: > > > It is my understanding that FLTK 1.2 will eventually support print > > formatting. It=92s the eventually part that worries me. Maybe there is = a > > better way to go. I have given WxWindows a look as well. I did some > > prototyping with MySQL and FLTK in Cygwin, but I would prefer to use > > Dev-cpp. > > > > The "L" in FLTK stands for "light", it's a "light" GUI library. Printing > is something specific, and most GUI libraries don't support it. Use > wxWidgets if you don't want to learn a separated library just for printin= g. > > > Daniel K. O. > > > > ------------------------------------------------------- > SF email is sponsored by - The IT Product Guide > Read honest & candid reviews on hundreds of IT Products from real users. > Discover which products truly live up to the hype. Start reading now. > http://productguide.itmanagersjournal.com/ > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > TO UNSUBSCRIBE: http://www23.brinkster.com/noicys/devcpp/ub.htm > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users > |
|
From: Vassili <v.v...@bt...> - 2001-09-12 19:56:54
|
Try opening a file with the name "PRN" or "LPT1". These are the file names to access the printer, then use fprintf() or any other text file functions to write to it. ----- Original Message ----- From: "Ian Weston" <lak...@ho...> To: <dev...@li...> Sent: Tuesday, September 11, 2001 9:20 PM Subject: [Dev-C++] Printing > hello everyone. im writing a program in c++ and i need to be able to print > out text to a printer. i was just wondering if anyone knows how to do this. > > thankyou. ian. > > _________________________________________________________________ > Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp > > > _______________________________________________ > Dev-cpp-users mailing list > Dev...@li... > https://lists.sourceforge.net/lists/listinfo/dev-cpp-users |