Re: Printing barcode labels from CF
Followup, here's what I used to print to an HP m251w. Works great printing to Avery 5520 3x10 labels. Set margin to 0 when printing from within Chrome: cfsetting showdebugoutput=No enablecfoutputonly=Yes!--- --- cfimport taglib=/extensions/custom_tags/ prefix=ct ct:security allow=board,admin!--- --- cfparam name=url.memberFamilyID default=0 cfquery name=getRecord datasource=#request.datasource# [redacted] /cfquery cfoutput html head meta name=google value=notranslate meta http-equiv=content-language content=en script type=text/javascript src= http://barcode-coder.com/js/jquery-1.3.2.min.js;/script script type=text/javascript src= http://barcode-coder.com/js/jquery-ui-1.7.custom.min.js;/script script type=text/javascript src= http://barcode-coder.com/js/jquery-barcode-last.min.js;/script script language=JavaScript function bc() { cfloop query=getRecord$('##bcTarget#getRecord.memberID#').barcode('#getRecord.memberID#', 'code128', {barHeight:50, barWidth:1, showHRI:true, fontSize: 11}); /cfloop } /script style @media print { div.row {page-break-after: auto;} div.spacer {height: 90px;} } body {text-align: center; font-family: arial; font-size: 11px; margin-left: 0px; margin-right: 0px; margin-top: 45px; margin-bottom: 48px;} div.spacer {height: 90px; clear: both; border: 0px solid blue;} div.row {margin: 0px; padding: 0px; page-break-after: auto;} div.label {width: 232px; height: 83px; margin-left: 13px; border: 1px solid white; float: left; padding-top: 5px;} /style /head body onLoad=bc(); div class=row cfloop query=getRecord div class=label align=centerdiv class=bc id=bcTarget#getRecord.memberID#/div #getrecord.memberfirstname# #getrecord.memberLastName# #getrecord.memberNameSuffix# (DOB: #dateFormat(getRecord.memberDOB, MM/DD/)#)/divcfif getrecord.currentrow MOD 3 EQ 0/div cfif getrecord.currentrow MOD 30 EQ 0 div class=spacernbsp;/div /cfif div class=row/cfif /cfloop /div /body /html /cfoutput On Tue, Mar 25, 2014 at 7:48 PM, Pete Ruckelshaus pruckelsh...@gmail.comwrote: Thanks. I think I'm going to try using CSS and print as an HTML file first, and if I run into issues, I'll go with cfdocument. On Tue, Mar 25, 2014 at 3:35 PM, Akos Fortagh akos.fort...@yahoo.comwrote: Sorry if I misunderstand the issue. I've used cfbarbecue http://cfbarbecue.riaforge.org/ in a number of apps with no problems. It simply uses cfimage to print the barcode to the screen. I opened that document in a small window and sent it to label printer using JS window.print(). Then using any label printer I have been able to print the barcode perfectly. HTH ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358680 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Printing barcode labels from CF
A number of years ago I accomplished a similar need through the utilization of a client side print ocx which allowed the user to select a printer to be used for label printing. Once they selected the printer, I was able to manipulate the required settings and query paper size information that I would pass back to my label designer and return the HTML that I would then send to the printer. It worked beautifully and the clients loved it. I do not remember the name of the control, but it was a commercial ocx. Our clients did a lot of label printing so installing the ocx was not an issue for them. I do not know how if you are intending for the client to print barcodes or not, but if this will be an administrative function it might be something to consider. David Phelan Web Developer IT Security Web Technologies Emerging Health Montefiore Information Technology 3 Odell Plaza, Yonkers, NY 10701 914-457-6465 Office dphe...@emerginghealthit.com www.emerginghealthit.com www.montefiore.org From: Pete Ruckelshaus pruckelsh...@gmail.com Sent: Tuesday, March 25, 2014 10:23 AM To: cf-talk Subject: Printing barcode labels from CF I'm building a membership system where I will need to print barcode labels (Code128) from a CF app. I've got the barcode creation down (using a JQuery plugin), but haven't started the label creation piece. I was thinking of using CSS + cfdocument, but am concerned that PDF's crappy support of CSS will cause me trouble. Has anyone else done something like this? What do I need to look out for? Thanks Pete ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358078 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Printing barcode labels from CF
Yay! I'm useful for something. I have much experience with barcodes printing. Part of the system I work on includes creating barcodes for E-Tickets to be used for admission to amusement parks. A couple resources for you to use: http://cfbarbecue.riaforge.org/. It's a CF wrapper to a Java library that can create images of barcodes. Once you install it into your CF server (copy some files to a directory, restart CF), you can call the component to create a CFIMAGE and it will spit out a PNG or JPG or what ever other format it supported. If you're planning on creating a PDF, a couple things you'll have to remember: CFIMAGE and CFDOCUMENT uses an HTTP call to generate those files (or something like that). You'll have to either A) edit your host files to accept your domain B) reference the image using file:\\\. http://www.ravenglass.com/blog/index.cfm/2010/6/9/Including-Images-in-a-PDF-created-in-CFDOCUMENT http://stackoverflow.com/questions/10637542/coldfusion-cfdocument-creates-a-red-x It isn't as complicated as it sounds, just a couple gotcha's you have to be prepared for. Hope that helps. I'm building a membership system where I will need to print barcode labels (Code128) from a CF app. I've got the barcode creation down (using a JQuery plugin), but haven't started the label creation piece. I was thinking of using CSS + cfdocument, but am concerned that PDF's crappy support of CSS will cause me trouble. Has anyone else done something like this? What do I need to look out for? Thanks Pete ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358079 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Printing barcode labels from CF
Sorry if I misunderstand the issue. I've used cfbarbecue http://cfbarbecue.riaforge.org/ in a number of apps with no problems. It simply uses cfimage to print the barcode to the screen. I opened that document in a small window and sent it to label printer using JS window.print(). Then using any label printer I have been able to print the barcode perfectly. HTH ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358080 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Printing barcode labels from CF
Thanks. I think I'm going to try using CSS and print as an HTML file first, and if I run into issues, I'll go with cfdocument. On Tue, Mar 25, 2014 at 3:35 PM, Akos Fortagh akos.fort...@yahoo.comwrote: Sorry if I misunderstand the issue. I've used cfbarbecue http://cfbarbecue.riaforge.org/ in a number of apps with no problems. It simply uses cfimage to print the barcode to the screen. I opened that document in a small window and sent it to label printer using JS window.print(). Then using any label printer I have been able to print the barcode perfectly. HTH ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:358082 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Printing barcodes
This is how I'm adding the bar code font size=+1 face=Bar Code 39 f HR #LICENSE_PARAMETER#/font ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348665 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Printing barcodes
Found the solution http://kb2.adobe.com/cps/405/kb405588.html ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348669 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Printing barcodes
Thanks for pointing out your own solution. I hope to play around with barcodes soon. .:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com -Original Message- From: Keith McGee [mailto:kpmc...@frontiernet.net] Sent: Friday, November 11, 2011 2:15 PM To: cf-talk Subject: Re: Printing barcodes Found the solution http://kb2.adobe.com/cps/405/kb405588.html ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348670 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Printing barcodes
Keith Would you mind sharing the code to create the pdf? I am working on the same problem and haven't got a workable solution yet. Andy --Original Message-- From: Keith McGee To: cf-talk ReplyTo: cf-talk@houseoffusion.com Subject: Re: Printing barcodes [spamtrap bayes][spamtrap heur] Sent: Nov 11, 2011 2:15 PM Found the solution http://kb2.adobe.com/cps/405/kb405588.html ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:348671 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Printing Envelopes
On 4/15/2011 9:11 PM, Scott Williams wrote: Hi all -- I have a question that's vaguely ColdFusion related. I want to print #10 envelopes with information pulled from a database. That's the CF part, and that's easy. The hard part is getting the text to appear where I want it on the page. I tried using a 4.125 x 9.5 table (which is the size of a #10 envelope), multiplying the number of inches by 72 to figure out how many pixels wide and tall the table cells should be. It looks proportionately correct, but it's smaller than the size I wanted. Does anybody know how to get tables to print the size you want them to? Set up a CSS for print media with those measurements. I would probably print to PDF and then to the envelopes since it would allow for better control. -- LinkedIn: http://www.linkedin.com/pub/8/a4/60 Twitter: http://twitter.com/RogerTheGeek Blog: http://rogerthegeek.wordpress.com/ MissHunt: http://www.misshunt.com/ (Home of the Clean/Dirty Magnet) ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343780 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
RE: Printing Envelopes
Have you thought about using ColdFusion Report Builder to generate this for you? This is far easier to setup and mange than trying to play with tables and positioning of the elements. I know that Crystal Reports is used in this manner, and I would consider that creating a report to be far easier. Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Scott Williams [mailto:myscottwilli...@yahoo.com] Sent: Saturday, 16 April 2011 11:12 AM To: cf-talk Subject: Printing Envelopes Hi all -- I have a question that's vaguely ColdFusion related. I want to print #10 envelopes with information pulled from a database. That's the CF part, and that's easy. The hard part is getting the text to appear where I want it on the page. I tried using a 4.125 x 9.5 table (which is the size of a #10 envelope), multiplying the number of inches by 72 to figure out how many pixels wide and tall the table cells should be. It looks proportionately correct, but it's smaller than the size I wanted. Does anybody know how to get tables to print the size you want them to? Scott ~~ ~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion- Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf- talk/message.cfm/messageid:343771 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf- talk/unsubscribe.cfm ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343772 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Printing Envelopes
I tried to install it once, but it was too confusing so I gave up. Scott From: Andrew Scott andr...@andyscott.id.au To: cf-talk cf-talk@houseoffusion.com Sent: Friday, April 15, 2011 6:36 PM Subject: Re: Printing Envelopes Have you thought about using ColdFusion Report Builder to generate this for you? This is far easier to setup and mange than trying to play with tables and positioning of the elements. I know that Crystal Reports is used in this manner, and I would consider that creating a report to be far easier. Regards, Andrew Scott http://www.andyscott.id.au/ -Original Message- From: Scott Williams [mailto:myscottwilli...@yahoo.com] Sent: Saturday, 16 April 2011 11:12 AM To: cf-talk Subject: Printing Envelopes Hi all -- I have a question that's vaguely ColdFusion related. I want to print #10 envelopes with information pulled from a database. That's the CF part, and that's easy. The hard part is getting the text to appear where I want it on the page. I tried using a 4.125 x 9.5 table (which is the size of a #10 envelope), multiplying the number of inches by 72 to figure out how many pixels wide and tall the table cells should be. It looks proportionately correct, but it's smaller than the size I wanted. Does anybody know how to get tables to print the size you want them to? Scott ~~ ~~~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion- Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf- talk/message.cfm/messageid:343771 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf- talk/unsubscribe.cfm ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343773 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Printing Envelopes
Never mind -- I figured it out. I used CSS and now it's working fine. Scott From: Scott Williams myscottwilli...@yahoo.com To: cf-talk cf-talk@houseoffusion.com Sent: Friday, April 15, 2011 6:11 PM Subject: Printing Envelopes Hi all -- I have a question that's vaguely ColdFusion related. I want to print #10 envelopes with information pulled from a database. That's the CF part, and that's easy. The hard part is getting the text to appear where I want it on the page. I tried using a 4.125 x 9.5 table (which is the size of a #10 envelope), multiplying the number of inches by 72 to figure out how many pixels wide and tall the table cells should be. It looks proportionately correct, but it's smaller than the size I wanted. Does anybody know how to get tables to print the size you want them to? Scott ~| Order the Adobe Coldfusion Anthology now! http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:343774 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm
Re: Printing out a List of all my servers data sources
You can get the list of DSNs like so: /* Get factory */ variables.fObj = createObject(java, coldfusion.server.ServiceFactory); /* Get datasource service */ variables.dsService = variables.fObj.getDataSourceService(); /* Get data sources */ var dsFull = variables.dsService.getNames(); That will return dsFull as an array of DSN names on the server. Not sure where to get the file locations, but I'm guessing you can find in the DataSourceService. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318547 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Printing out a List of all my servers data sources
Can't you get all that using the Admin API? http://livedocs.adobe.com/coldfusion/8/htmldocs/basiconfig_37.html Paul. On Mon, Jan 26, 2009 at 11:18 AM, Jason Fisher ja...@wanax.com wrote: You can get the list of DSNs like so: /* Get factory */ variables.fObj = createObject(java, coldfusion.server.ServiceFactory); /* Get datasource service */ variables.dsService = variables.fObj.getDataSourceService(); /* Get data sources */ var dsFull = variables.dsService.getNames(); That will return dsFull as an array of DSN names on the server. Not sure where to get the file locations, but I'm guessing you can find in the DataSourceService. ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318552 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Printing out a List of all my servers data sources
QD cfset conn = createObject(java,coldfusion.server.ServiceFactory) !--- Create a List to loop over --- cfset dbList = listSort(structKeyList(conn.DataSourceService.getDatasources()),textnocase) cfoutput cfloop list=#dbList# index=dsnName #dsnName# br / /cfloop /cfoutput On Mon, Jan 26, 2009 at 10:57 AM, Terry Troxel te...@it-werks.com wrote: How do I go about printing out a list of all my CFadmin data sources with the location of the source files as well? I would like it for back up purposes in order to recreate the dsn's if I want to move the server. Terry Troxel ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318558 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Printing out a List of all my servers data sources
Gerald, This works great. Now where do I go to print the source file name and location as that's the reason for all this as I can print the page in CFAdmin that lists all my datasources. Terry -Original Message- From: Gerald Guido [mailto:gerald.gu...@gmail.com] Sent: Monday, January 26, 2009 10:21 AM To: cf-talk Subject: Re: Printing out a List of all my servers data sources QD cfset conn = createObject(java,coldfusion.server.ServiceFactory) !--- Create a List to loop over --- cfset dbList = listSort(structKeyList(conn.DataSourceService.getDatasources()),textnocase ) cfoutput cfloop list=#dbList# index=dsnName #dsnName# br / /cfloop /cfoutput On Mon, Jan 26, 2009 at 10:57 AM, Terry Troxel te...@it-werks.com wrote: How do I go about printing out a list of all my CFadmin data sources with the location of the source files as well? I would like it for back up purposes in order to recreate the dsn's if I want to move the server. Terry Troxel ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318560 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Printing out a List of all my servers data sources
How do I go about printing out a list of all my CFadmin data sources with the location of the source files as well? I would like it for back up purposes in order to recreate the dsn's if I want to move the server. If you have access to the server's filesystem, just grab neo-datasource.xml if you're using CF 8, or neo-query.xml if you're using CF 7 or 6. If you have access to the CF Administrator, and have CF Enterprise or are willing to temporarily remove your serial number so that your server will have CF Enterprise trial version, you can create a CAR file with all your datasources from the CF Administrator, and then just read from the CAR file on the new server. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:318564 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Printing mailing labels
I may need to attack, what version of CF would the t-shirt be for? :) The t-shirt has a version dependancy? -- s. isaac dealey ^ new epoch isn't it time for a change? ph: 503.236.3691 http://onTap.riaforge.org/blog ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298776 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Printing mailing labels
Hey, I think I resemble that remark! My in-house server may still be using 4.5, but my new VPS and my dev machine only use CF 8! Still haven't used a CFC, however...but I will, Will! Bring on the t-shirt! :o) Rick -Original Message- From: Dave l [mailto:[EMAIL PROTECTED] Sent: Tuesday, February 12, 2008 12:58 AM To: CF-Talk Subject: Re: Printing mailing labels He's gunna have to shrink down the letters so he can fit a 4.5 on there I may need to attack, what version of CF would the t-shirt be for? :) On Feb 11, 2008 10:09 PM, Will Tomlinson [EMAIL PROTECTED] wrote: ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298782 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Printing mailing labels
The comedy routine or the CF or both? ;o) Rick -Original Message- From: Dave l [mailto:[EMAIL PROTECTED] Sent: Sunday, February 10, 2008 11:51 PM To: CF-Talk Subject: Re: Printing mailing labels if only you knew the problems he had trying to make it work! There's Will, keepin' that stand-up comic routine sharp. :o) Rick ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298742 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Printing mailing labels
if only you knew the problems he had trying to make it work! There's Will, keepin' that stand-up comic routine sharp. :o) Rick The only problem was the formatting. It wasn't lookin like the docs said it'd look! :) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298756 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Printing mailing labels
I may need to attack, what version of CF would the t-shirt be for? :) On Feb 11, 2008 10:09 PM, Will Tomlinson [EMAIL PROTECTED] wrote: The docs must've targeted the 9th grade reading level, instead of the standard 8th grade level for most publications... Don't struggle so much next time. Just let us know when you need help! rick, rick, rick... To silence your unrelenting attacks, you shall force me to offer you a free CF t-shirt. Will p.s. No unrelenting attack stampedes please! :) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298774 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Printing mailing labels
He's gunna have to shrink down the letters so he can fit a 4.5 on there I may need to attack, what version of CF would the t-shirt be for? :) On Feb 11, 2008 10:09 PM, Will Tomlinson [EMAIL PROTECTED] wrote: ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298775 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Printing mailing labels
The docs must've targeted the 9th grade reading level, instead of the standard 8th grade level for most publications... Don't struggle so much next time. Just let us know when you need help! rick, rick, rick... To silence your unrelenting attacks, you shall force me to offer you a free CF t-shirt. Will p.s. No unrelenting attack stampedes please! :) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298773 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Printing mailing labels
It wasn't lookin like the docs said it'd look! The docs must've targeted the 9th grade reading level, instead of the standard 8th grade level for most publications... Don't struggle so much next time. Just let us know when you need help! :o) Rick -Original Message- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: Monday, February 11, 2008 5:59 PM To: CF-Talk Subject: Re: Printing mailing labels if only you knew the problems he had trying to make it work! There's Will, keepin' that stand-up comic routine sharp. :o) Rick The only problem was the formatting. It wasn't lookin like the docs said it'd look! :) ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298772 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Printing mailing labels
There's Will, keepin' that stand-up comic routine sharp. :o) Rick -Original Message- From: Will Tomlinson [mailto:[EMAIL PROTECTED] Sent: Sunday, February 10, 2008 12:01 AM To: CF-Talk Subject: Re: Printing mailing labels I got the cf_avery tag workin. It's pretty sweet. Had a few alignment problems but got it worked out. It's ancient and I figured rick probably built it, but he didn't. :) Thanks, Will ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298666 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Printing mailing labels
if only you knew the problems he had trying to make it work! There's Will, keepin' that stand-up comic routine sharp. :o) Rick ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298689 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Printing mailing labels
I would think the best way is to do a CFreport to PDF and print that way. http://www.adobe.com/devnet/coldfusion/articles/averylabels.html J.J. On 2/9/08, Will Tomlinson [EMAIL PROTECTED] wrote: What do you guys use to print mailing labels with CF? I saw a cf_avery tag, but it looked kinda old. Thanks, Will ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298619 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Printing mailing labels
What do you guys use to print mailing labels with CF? I saw a cf_avery tag, but it looked kinda old. My guess would be that just uses cfdocument to generate a PDF with known dimensions for the labels on an Avery sheet. I'd been planning to do this myself for one of my own projects and just hadn't got around to it yet. -- s. isaac dealey ^ new epoch isn't it time for a change? ph: 503.236.3691 http://onTap.riaforge.org/blog ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298623 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Printing mailing labels
I got the cf_avery tag workin. It's pretty sweet. Had a few alignment problems but got it worked out. It's ancient and I figured rick probably built it, but he didn't. :) Thanks, Will ~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;160198600;22374440;w Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:298661 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Printing a label from a web page
Look for cf_averyrtf, a master piece for label printing. -- ___ REUSE CODE! Use custom tags; See http://www.contentbox.com/claude/customtags/tagstore.cfm (Please send any spam to this address: [EMAIL PROTECTED]) Thanks. ~| Enterprise web applications, build robust, secure scalable apps today - Try it now ColdFusion Today ColdFusion 8 beta - Build next generation apps Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:288525 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Printing Checks
Which banking system are the checks for? the US banking system? do they have MICR lines on them ? If i recall, the US banks charge quite a lot of money if they have to encode the MICR line after the checks ahve been supplied to the customer. Australian and NZ banks wont do it it all. they supply the cheques already MICR encoded. MICR has very precise alignment tolerances, aligned to the right and bottom of the page, not the top left. TO produce a cheque suitable for processing through automatied MICR machines or OCR machines requires a great deal of precision that is usually only provided by a specially modified printer - the issue is the paper moveing through the printer. You cant' have any page twisting or moving horizontally in teh printer. the right edge of the cheque has to be wihtin a hundredth of an inch of its required place or the MICR readers get errors and the customer gets charges. If you want to know more i can point you at where i used to buy such printers modified HP printers. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On 4/25/07, Bader, Terrence C CTR MARMC, 231 [EMAIL PROTECTED] wrote: Anyone printing checks through a CF app?? I want to print checks for payments. I currently can do it but I created the print out using css/div and it really only works in a specific setup (IE7 on a specific machine with a specific printer). If I go print on a separate machine with a different browser setup or printer, I get fields that are off. I would like it to work no matter where they print to or from. So I am in search of a solution that involves something printing a Word Doc or PDF template that can print multiple pages of checks as necessary. And really it does not need to be specific to check printing but that would help. Just looking for resources that help define the process. Thoughts? Thanks ~Terry MARMC Fleet Scheduling Center Programming Support 757.443.3872 x2573 (Temporary) https://www.marmc.nmci.navy.mil/200/fsc/ ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276202 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Printing Checks
I print the MICR line. Easy enough for that, the checks clear now without problem. My problem is portability so that checks print exactly the same from printer to printer without having to resetup the page. Insert paper on printer1 or 2 and print away. The only difference between a regular printer and a check printer really is the magnetic ink used to print the MICR line. My focus for this post is printing checks (or forms, or cards, etc) using Word, PDF or other templates so that it can be easily printed from any machine/printer - like you can do with certain cards, forms and all. Except that each check info is different including bank info. So on one page you will have Check 1, 2 and 3 with each having their own info. And that I can easily send data to the template via a CF request. I could do this with CSS/DIVs by creating a setup for each customer/location I support but I would prefer something more universally accepted. Thanks... ~Terry -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2007 8:20 To: CF-Talk Subject: Re: Printing Checks Which banking system are the checks for? the US banking system? do they have MICR lines on them ? If i recall, the US banks charge quite a lot of money if they have to encode the MICR line after the checks ahve been supplied to the customer. Australian and NZ banks wont do it it all. they supply the cheques already MICR encoded. MICR has very precise alignment tolerances, aligned to the right and bottom of the page, not the top left. TO produce a cheque suitable for processing through automatied MICR machines or OCR machines requires a great deal of precision that is usually only provided by a specially modified printer - the issue is the paper moveing through the printer. You cant' have any page twisting or moving horizontally in teh printer. the right edge of the cheque has to be wihtin a hundredth of an inch of its required place or the MICR readers get errors and the customer gets charges. If you want to know more i can point you at where i used to buy such printers modified HP printers. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276205 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Printing Checks
One word - CFReport. Go get the CF Report Builder (I believe its still free) and create a report which fits the format of your checks, then just load and execute it with the CFreport tag. There is tons of documentation out there for CFReport so I'm not going to go too far into the details, but you'll probably find that this is what you are looking for. You can render your reports as a PDF, which will probably address your printing issue. Jake Pilgrim ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276208 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Printing Checks
Bader, Terrence C CTR MARMC, 231 wrote: Anyone printing checks through a CF app?? we have a municipality doing that. I want to print checks for payments. I currently can do it but I created the print out using css/div and it really only works in a that's how they used to do it but we re-wrote the check printing app to use cfreport. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276215 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Printing Checks
Terry, I print checks by making a 'blank' check template as a Tiff image. Then I use iText to write text to specific X / Y coordinates on my tiff blank, and spit em out to the printer as a .pdf file (again, using iText to change the tiff to a pdf) I also print invoices like this. You wouldn't *have* to start with a tiff template either, if all you want is text at specific locations on a page, start with a blank tiff image that is 8.5 X 11', or whatever size you need. Would you be interested in any of the code, I have a few CFC's I use to do it all. Chris Peterson -Original Message- From: Bader, Terrence C CTR MARMC, 231 [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2007 9:00 AM To: CF-Talk Subject: Printing Checks Anyone printing checks through a CF app?? I want to print checks for payments. I currently can do it but I created the print out using css/div and it really only works in a specific setup (IE7 on a specific machine with a specific printer). If I go print on a separate machine with a different browser setup or printer, I get fields that are off. I would like it to work no matter where they print to or from. So I am in search of a solution that involves something printing a Word Doc or PDF template that can print multiple pages of checks as necessary. And really it does not need to be specific to check printing but that would help. Just looking for resources that help define the process. Thoughts? Thanks ~Terry MARMC Fleet Scheduling Center Programming Support 757.443.3872 x2573 (Temporary) https://www.marmc.nmci.navy.mil/200/fsc/ ~| Upgrade to Adobe ColdFusion MX7 Experience Flex 2 MX7 integration create powerful cross-platform RIAs http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJQ Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276219 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Printing Checks
Thanks Jake, Thanks Paul, Thanks Mike... CFReport it is - I will check this out. -Original Message- From: Jake Pilgrim [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2007 8:58 To: CF-Talk Subject: Re: Printing Checks One word - CFReport. Go get the CF Report Builder (I believe its still free) and create a report which fits the format of your checks, then just load and execute it with the CFreport tag. There is tons of documentation out there for CFReport so I'm not going to go too far into the details, but you'll probably find that this is what you are looking for. You can render your reports as a PDF, which will probably address your printing issue. Jake Pilgrim ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276223 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Printing Checks
I would be very interested. Thanks! -Original Message- From: Peterson, Chris [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2007 9:32 To: CF-Talk Subject: RE: Printing Checks Terry, I print checks by making a 'blank' check template as a Tiff image. Then I use iText to write text to specific X / Y coordinates on my tiff blank, and spit em out to the printer as a .pdf file (again, using iText to change the tiff to a pdf) I also print invoices like this. You wouldn't *have* to start with a tiff template either, if all you want is text at specific locations on a page, start with a blank tiff image that is 8.5 X 11', or whatever size you need. Would you be interested in any of the code, I have a few CFC's I use to do it all. Chris Peterson -Original Message- From: Bader, Terrence C CTR MARMC, 231 [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2007 9:00 AM To: CF-Talk Subject: Printing Checks Anyone printing checks through a CF app?? I want to print checks for payments. I currently can do it but I created the print out using css/div and it really only works in a specific setup (IE7 on a specific machine with a specific printer). If I go print on a separate machine with a different browser setup or printer, I get fields that are off. I would like it to work no matter where they print to or from. So I am in search of a solution that involves something printing a Word Doc or PDF template that can print multiple pages of checks as necessary. And really it does not need to be specific to check printing but that would help. Just looking for resources that help define the process. Thoughts? Thanks ~Terry MARMC Fleet Scheduling Center Programming Support 757.443.3872 x2573 (Temporary) https://www.marmc.nmci.navy.mil/200/fsc/ ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276224 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Printing Checks
I woudl strongly urge you to go to you bank's it department and ask them to get you a Glarden gauge. it is a plastic overlay that shows you the tolerances for the MICR line If you dont get the MICR line in the right place. - to 100th of an inch the bank will sooner or later start charging you for re-encoding the checks on the back few checks they wont charge you extra. but if they start finding that every one of your checks has to be re-encoded they will charge ytou. last time i saw this in the US banking system, the bank charged the client $15/check to encourage them to have the MICR line properly encoded in austrlia the banks simply refuse to process the checks unless they are pre-approved by the processing branch of hte bank. The GLarden gauge is what yo uuse to verify your MICR characters are in precisely th right place. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On 4/26/07, Bader, Terrence C CTR MARMC, 231 [EMAIL PROTECTED] wrote: Thanks Jake, Thanks Paul, Thanks Mike... CFReport it is - I will check this out. -Original Message- From: Jake Pilgrim [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2007 8:58 To: CF-Talk Subject: Re: Printing Checks One word - CFReport. Go get the CF Report Builder (I believe its still free) and create a report which fits the format of your checks, then just load and execute it with the CFreport tag. There is tons of documentation out there for CFReport so I'm not going to go too far into the details, but you'll probably find that this is what you are looking for. You can render your reports as a PDF, which will probably address your printing issue. Jake Pilgrim ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276232 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Printing Checks
Mike thanks for your insight. I will check on this and make sure my bank isnt balking at our checks. ~Terry -Original Message- From: Mike Kear [mailto:[EMAIL PROTECTED] Sent: Wednesday, April 25, 2007 11:12 To: CF-Talk Subject: Re: Printing Checks I woudl strongly urge you to go to you bank's it department and ask them to get you a Glarden gauge. it is a plastic overlay that shows you the tolerances for the MICR line If you dont get the MICR line in the right place. - to 100th of an inch the bank will sooner or later start charging you for re-encoding the checks on the back few checks they wont charge you extra. but if they start finding that every one of your checks has to be re-encoded they will charge ytou. last time i saw this in the US banking system, the bank charged the client $15/check to encourage them to have the MICR line properly encoded in austrlia the banks simply refuse to process the checks unless they are pre-approved by the processing branch of hte bank. The GLarden gauge is what yo uuse to verify your MICR characters are in precisely th right place. Cheers Mike Kear Windsor, NSW, Australia Adobe Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On 4/26/07, Bader, Terrence C CTR MARMC, 231 [EMAIL PROTECTED] wrote: Thanks Jake, Thanks Paul, Thanks Mike... CFReport it is - I will check this out. ~| Deploy Web Applications Quickly across the enterprise with ColdFusion MX7 Flex 2 Free Trial http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276237 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Printing Checks
one other thing, one of the check writing requirements was spellout for the amount on the check. icuj4's RuleBasedNumberFormat class did a fine job w/that bit (it needed to be written out in thai on very rare occasions, english). ~| Upgrade to Adobe ColdFusion MX7 The most significant release in over 10 years. Upgrade see new features. http://www.adobe.com/products/coldfusion?sdid=RVJR Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:276238 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Printing a page without the standard header and footer
You can't control any browser's printing features except your own. In this case, I would suggest using CFDOCUMENT and create a PDF that contains only the information you need. M!ke -Original Message- From: Curt Schryver [mailto:[EMAIL PROTECTED] Sent: Friday, March 30, 2007 8:34 AM To: CF-Talk Subject: Printing a page without the standard header and footer I realize that I can remove and modify what is printed in the header and footer of a page within my browser, but what I'd rather figure out is if there's a way to launch a special page (a packing list) that I can print that will exclude these items. Thanks. ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://www.adobe.com/products/coldfusion/flex2/?sdid=RVJP Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274189 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Printing a page without the standard header and footer
+1 on pushing the content to PDF to be printed -Original Message- From: Dawson, Michael [mailto:[EMAIL PROTECTED] Sent: Friday, March 30, 2007 9:44 AM To: CF-Talk Subject: RE: Printing a page without the standard header and footer You can't control any browser's printing features except your own. In this case, I would suggest using CFDOCUMENT and create a PDF that contains only the information you need. M!ke -Original Message- From: Curt Schryver [mailto:[EMAIL PROTECTED] Sent: Friday, March 30, 2007 8:34 AM To: CF-Talk Subject: Printing a page without the standard header and footer I realize that I can remove and modify what is printed in the header and footer of a page within my browser, but what I'd rather figure out is if there's a way to launch a special page (a packing list) that I can print that will exclude these items. Thanks. ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274190 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Printing a page without the standard header and footer
You could use CSS to hide the header and footer when printing (not 100% this syntax is correct): @media print{ .header{display:none;} ..footer{display:none;} } Or, something I've done is use custom comment tags above and below the required content. The print page then cfhttp's the original (referer), strips out everthing between the tags and inserts 'print appropriate' headers and footers. - Original Message - From: Curt Schryver [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Friday, March 30, 2007 2:34 PM Subject: Printing a page without the standard header and footer I realize that I can remove and modify what is printed in the header and footer of a page within my browser, but what I'd rather figure out is if there's a way to launch a special page (a packing list) that I can print that will exclude these items. Thanks. ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274197 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Printing a page without the standard header and footer
I am not sure of this offhand, but I think if the data is a HUGE table, then using the THEAD and TFOOT tag within the TABLE tag willactually print the table header/footer on each page... Not the same as the page header/footer, but at least it's a start. .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Curt Schryver [mailto:[EMAIL PROTECTED] Sent: Friday, March 30, 2007 9:34 AM To: CF-Talk Subject: Printing a page without the standard header and footer I realize that I can remove and modify what is printed in the header and footer of a page within my browser, but what I'd rather figure out is if there's a way to launch a special page (a packing list) that I can print that will exclude these items. Thanks. ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274200 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
RE: Printing a page without the standard header and footer
I think Curt is asking how to remove IE's page numbers or FF's page title, for example, from the printed page, not removing his generated content. He wants to remove the information that you can see when you go to File Page Setup. If I'm wrong, then I apologize for the confusion and then I would change my story to say Use CSS. ;^) M!ke -Original Message- From: Ben Nadel [mailto:[EMAIL PROTECTED] Sent: Friday, March 30, 2007 9:56 AM To: CF-Talk Subject: RE: Printing a page without the standard header and footer I am not sure of this offhand, but I think if the data is a HUGE table, then using the THEAD and TFOOT tag within the TABLE tag willactually print the table header/footer on each page... Not the same as the page header/footer, but at least it's a start. ... Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Curt Schryver [mailto:[EMAIL PROTECTED] Sent: Friday, March 30, 2007 9:34 AM To: CF-Talk Subject: Printing a page without the standard header and footer I realize that I can remove and modify what is printed in the header and footer of a page within my browser, but what I'd rather figure out is if there's a way to launch a special page (a packing list) that I can print that will exclude these items. Thanks. ~| Macromedia ColdFusion MX7 Upgrade to MX7 experience time-saving features, more productivity. http://www.adobe.com/products/coldfusion?sdid=RVJW Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274209 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Printing a page without the standard header and footer
If you can restrict use to IE, I have used http://www.meadroid.com/scriptx/ activeX object very successfully. I have a Work Order system where I use this. Works great and is all accomplished transparently to the user. The user, while viewing the WO can click on a button (using JS). With no dialog windows popping up, the form is printed in Landscape with the IE header/footer removed. Terry I realize that I can remove and modify what is printed in the header and footer of a page within my browser, but what I'd rather figure out is if there's a way to launch a special page (a packing list) that I can print that will exclude these items. Thanks. ~| ColdFusion MX7 by Adobe® Dyncamically transform webcontent into Adobe PDF with new ColdFusion MX7. Free Trial. http://www.adobe.com/products/coldfusion?sdid=RVJV Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:274216 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Printing Mailing Labels Advice Needed
Rick, Don't wrap the output around 30 addresses. Just have a cfoutput loop with a single address inside. If you look at the HTML its probably just some table template. Then, just add the appropriate end row / start row if needed: table tr cfoutput query=qLabel td./td cfif (NOT (qLabel.CurrentRow MOD 3)) AND (qLabel.CurrentRow LT qLabel.RecordCount) /trtr /cfif /cfoutput /tr /table This way, your query will make much more sense. In this example, I am assuming there are 3 labels across (MOD 3). .. Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Friday, December 08, 2006 7:44 PM To: CF-Talk Subject: Printing Mailing Labels Advice Needed Hi, gang. I'm using MS Word to setup the HTML for printing mailing labels, then inserting a query into the HTML for getting my addresses. The addresses are 30 per page. I'm using CFOUTPUT Query = to output the info. In the HTML, I put the variables, #First_Name#, etc. Problem: The CFOUTPUT Query is wrapped around 30 labels at a time and I'm trying to figure out how to work the query or either the CFOUTPUT to output one address per label instead of one address on all 30 labels. I solved this before, but can't remember how I did it and now I can't find the code. Would something like using #get_addresses.first_name[1]# solve the problem? Other advice? Thanks, Rick PS - Remember CF 4.5 here. :o) (Still making money off that old software) ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263516 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Printing Mailing Labels Advice Needed
Hi, Ben... I tried creating my own page with the approach you described as my first attempt at printing labels... couldn't get the things to line up properly. I finally went to Word to create the HTML for labels for me and decided to try to loop the entire page so as to not disrupt the alignment. I did get a solution worked up looping the entire 30-label page. I first setup a variable to control the row count used when the query loops the page: CFSET StartRow = 1 Then, I use CFOUTPUT Query= Get_Addresses, Then just make each label like so (minus a lot of code): #Get_Addresses.First_Name[StartRow]#, etc. Second address uses: #Get_Addresses.First_Name[StartRow+1], etc. Then at the end of the 30-label page, I use: CFSET StartRow = StartRow + 30 and print labels 31 - 60. It's working fine so far... however, I'll probably go back at some point and see if I can get away with the method you described without breaking the printing alignment. Thanks for your response! Rick -Original Message- From: Ben Nadel [mailto:[EMAIL PROTECTED] Sent: Monday, December 11, 2006 9:00 AM To: CF-Talk Subject: RE: Printing Mailing Labels Advice Needed Rick, Don't wrap the output around 30 addresses. Just have a cfoutput loop with a single address inside. If you look at the HTML its probably just some table template. Then, just add the appropriate end row / start row if needed: table tr cfoutput query=qLabel td./td cfif (NOT (qLabel.CurrentRow MOD 3)) AND (qLabel.CurrentRow LT qLabel.RecordCount) /trtr /cfif /cfoutput /tr /table This way, your query will make much more sense. In this example, I am assuming there are 3 labels across (MOD 3). ... Ben Nadel Certified Advanced ColdFusion MX7 Developer www.bennadel.com Need ColdFusion Help? www.bennadel.com/ask-ben/ -Original Message- From: Rick Faircloth [mailto:[EMAIL PROTECTED] Sent: Friday, December 08, 2006 7:44 PM To: CF-Talk Subject: Printing Mailing Labels Advice Needed Hi, gang. I'm using MS Word to setup the HTML for printing mailing labels, then inserting a query into the HTML for getting my addresses. The addresses are 30 per page. I'm using CFOUTPUT Query = to output the info. In the HTML, I put the variables, #First_Name#, etc. Problem: The CFOUTPUT Query is wrapped around 30 labels at a time and I'm trying to figure out how to work the query or either the CFOUTPUT to output one address per label instead of one address on all 30 labels. I solved this before, but can't remember how I did it and now I can't find the code. Would something like using #get_addresses.first_name[1]# solve the problem? Other advice? Thanks, Rick PS - Remember CF 4.5 here. :o) (Still making money off that old software) ~| Create robust enterprise, web RIAs. Upgrade integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:263529 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Printing issues
SOLVED! I don't really want to force a page break... I've just never seen an HTML page be split up like that before. Turned out that the absolute positioning of the page was causing the printing issue. So in my print CSS, I removed the positioning of the #content div and it prints great now. Rick Josh Nathanson wrote: You can do a page break with css: span style=page-break-before: always;/span Put that where you want a page break to go. I think that will work across browsers. Of course, if the page is dynamically generated you'll need to take that into account. -- Josh - Original Message - From: Rick Root [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, August 16, 2006 1:14 PM Subject: OT: Printing issues Okay, another off topic. I'm not one for printing out HTML documents, so I don't know if this is normal or not. This page: https://www.cfr.duke.edu/DukeFacultyandStaffSeekingFoundationFunding.cfm (I didn't make that file name, don't blame me!) When I print it (and it shows up in print preview too), a line at the bottm of the second page actually gets cut off and the rest of it prints on the third page. I don't mean some of the words, I mean the top half of each letter appears at the end of page 2, and the bottom half of each letter appears on the bottom of page 3. I thought browsers were smart enough to *NOT* do this kind of thing. It's even worse in Firefox. Firefox doesn't even have the sense to print multiple pages. It just trails off the bottom and doesn't bother printing the second or third pages. Rick ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:250129 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Re: Printing issues
You can do a page break with css: span style=page-break-before: always;/span Put that where you want a page break to go. I think that will work across browsers. Of course, if the page is dynamically generated you'll need to take that into account. -- Josh - Original Message - From: Rick Root [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, August 16, 2006 1:14 PM Subject: OT: Printing issues Okay, another off topic. I'm not one for printing out HTML documents, so I don't know if this is normal or not. This page: https://www.cfr.duke.edu/DukeFacultyandStaffSeekingFoundationFunding.cfm (I didn't make that file name, don't blame me!) When I print it (and it shows up in print preview too), a line at the bottm of the second page actually gets cut off and the rest of it prints on the third page. I don't mean some of the words, I mean the top half of each letter appears at the end of page 2, and the bottom half of each letter appears on the bottom of page 3. I thought browsers were smart enough to *NOT* do this kind of thing. It's even worse in Firefox. Firefox doesn't even have the sense to print multiple pages. It just trails off the bottom and doesn't bother printing the second or third pages. Rick ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:250054 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
RE: Printing issues
Hi Rick, I use this in a print style sheet: #pagefeed { page-break-after: always } and call it at the end of a page with: div = pagefeed/div There is a good CSS reference here: http://www.w3schools.com/css/css_ref_print.asp You can add separate style sheets to a page for each medium, for example: head link href=screen.css rel=stylesheet media=screen type=text/css LINK REL=stylesheet MEDIA=aural HREF=aural.css TYPE=text/css LINK REL=stylesheet MEDIA=print HREF=print.css TYPE=text/css /head This can be really useful when you don't want parts of a page to print, such as navigation. Jenny -Original Message- From: Josh Nathanson [mailto:[EMAIL PROTECTED] Sent: 16 August 2006 21:39 To: CF-Talk Subject: Re: Printing issues You can do a page break with css: span style=page-break-before: always;/span Put that where you want a page break to go. I think that will work across browsers. Of course, if the page is dynamically generated you'll need to take that into account. -- Josh - Original Message - From: Rick Root [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Wednesday, August 16, 2006 1:14 PM Subject: OT: Printing issues Okay, another off topic. I'm not one for printing out HTML documents, so I don't know if this is normal or not. This page: https://www.cfr.duke.edu/DukeFacultyandStaffSeekingFoundationFunding.cfm (I didn't make that file name, don't blame me!) When I print it (and it shows up in print preview too), a line at the bottm of the second page actually gets cut off and the rest of it prints on the third page. I don't mean some of the words, I mean the top half of each letter appears at the end of page 2, and the bottom half of each letter appears on the bottom of page 3. I thought browsers were smart enough to *NOT* do this kind of thing. It's even worse in Firefox. Firefox doesn't even have the sense to print multiple pages. It just trails off the bottom and doesn't bother printing the second or third pages. Rick ~| Introducing the Fusion Authority Quarterly Update. 80 pages of hard-hitting, up-to-date ColdFusion information by your peers, delivered to your door four times a year. http://www.fusionauthority.com/quarterly Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:250072 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Re: Printing from CF / Browser
On Tuesday 13 June 2006 10:04, Jenny Gavin-Wear wrote: My basic problem is page feeds. Currently I am generating one long page of consignments, is there some way of coding it to send a page feed after each record, please? Google for 'print stylesheets' ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243306 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Printing from CF / Browser
Have been doing so Tom, but I can't see anything on page feeds. I've used print style sheets in the past, but never needed page feeds before. Any ideas ? -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: 13 June 2006 11:31 To: CF-Talk Subject: Re: Printing from CF / Browser On Tuesday 13 June 2006 10:04, Jenny Gavin-Wear wrote: My basic problem is page feeds. Currently I am generating one long page of consignments, is there some way of coding it to send a page feed after each record, please? Google for 'print stylesheets' ? -- Tom Chiverton This email is sent for and on behalf of Halliwells LLP. Halliwells LLP is a limited liability partnership registered in England and Wales under registered number OC307980 whose registered office address is at St James's Court Brown Street Manchester M2 2JF. A list of members is available for inspection at the registered office. Any reference to a partner in relation to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law Society. CONFIDENTIALITY This email is intended only for the use of the addressee named above and may be confidential or legally privileged. If you are not the addressee you must not read it and must not use any information contained in nor copy it nor inform any person other than Halliwells LLP or the addressee of its existence or contents. If you have received this email in error please delete it and notify Halliwells LLP IT Department on 0870 365 8008. For more information about Halliwells LLP visit www.halliwells.com. We are pleased to announce that Halliwells LLP has been voted AIM Lawyer of the Year at the 2005 Growth Company Awards ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243307 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Printing from CF / Browser
You mean something like this maybe? style=page-break-before: always; Rens Jenny Gavin-Wear wrote: Have been doing so Tom, but I can't see anything on page feeds. I've used print style sheets in the past, but never needed page feeds before. Any ideas ? -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: 13 June 2006 11:31 To: CF-Talk Subject: Re: Printing from CF / Browser On Tuesday 13 June 2006 10:04, Jenny Gavin-Wear wrote: My basic problem is page feeds. Currently I am generating one long page of consignments, is there some way of coding it to send a page feed after each record, please? Google for 'print stylesheets' ? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243308 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Printing from CF / Browser
bingo ! thank you :-) -Original Message- From: |Rens| 0 [mailto:[EMAIL PROTECTED] Sent: 13 June 2006 12:05 To: CF-Talk Subject: Re: Printing from CF / Browser You mean something like this maybe? style=page-break-before: always; Rens Jenny Gavin-Wear wrote: Have been doing so Tom, but I can't see anything on page feeds. I've used print style sheets in the past, but never needed page feeds before. Any ideas ? -Original Message- From: Tom Chiverton [mailto:[EMAIL PROTECTED] Sent: 13 June 2006 11:31 To: CF-Talk Subject: Re: Printing from CF / Browser On Tuesday 13 June 2006 10:04, Jenny Gavin-Wear wrote: My basic problem is page feeds. Currently I am generating one long page of consignments, is there some way of coding it to send a page feed after each record, please? Google for 'print stylesheets' ? ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243309 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Printing from CF / Browser
I would use CFREPORT for this. It gives you all the page control that you need and more. Jenny Gavin-Wear [EMAIL PROTECTED] wrote on 06/13/2006 05:04:50 AM: Hi all, I have an application for a delivery company that generates a bunch of consignment notes to be printed. I'd like to be able to send the job to print from IE, or to have a pdf created on the fly which can then be printed. My basic problem is page feeds. Currently I am generating one long page of consignments, is there some way of coding it to send a page feed after each record, please? Many thanks in advance, Jenny ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:243328 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Printing from CF
Unfortunately it doesn't look like cf_avery is going to do what I need. (Thanks for the info, Adrian.) So I thought about doing it by outputing the data to be printed to a file and have a .bat send the content to lpt1: The batch file just contains: type 1.txt lpt1: Sadly, I'm seeing nothing hit the printer. Does anyone have any idea what the issue is here please? Thanks, Jenny cfquery name=jobs datasource=#application.dsn# SELECT top 1 * FROM List_jobs_full ORDER BY List_jobs_full.jobID desc /cfquery cfsavecontent variable=print cfoutput cfloop from=1 to=#jobs.items# index=i table width=600 border=0 cellspacing=0 cellpadding=3 tr tdItem: #i# of #jobs.items#/td tdnbsp;/td /tr tr td width=50%strongDELIVER TO:br #jobs.name#br #jobs.depart#br #jobs.org#br #jobs.bname#br #jobs.address#br #jobs.town#br #jobs.phone# br #jobs.postcode#/strong/td td width=50%SENDER:br #jobs.Company#br #jobs.Add1#br #jobs.Add2#br #jobs.City#br #jobs.County#br #jobs.Country#br #jobs.CustPcode#br #jobs.Telephone#/td /tr tr tdnbsp;/td tdnbsp;/td /tr tr td colspan=2#jobs.special#/td /tr /table /cfloop /cfoutput /cfsavecontent Cffile action=write file=C:\inetpub\lbcouriers.fasttrackonline.co.uk\management\jobs\print\1.txt output=#print# addnewline=no cfexecute name=C:\inetpub\lbcouriers.fasttrackonline.co.uk\management\jobs\print\print.bat/cfexecute -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.5.2/329 - Release Date: 02/05/2006 ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239360 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Printing from CF
Forgot to add: Server: Win 2003 server with IIS 6 Workstation: XP Pro CFMX 6.1 -Original Message- From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED] Sent: 03 May 2006 08:32 To: CF-Talk Subject: RE: Printing from CF Unfortunately it doesn't look like cf_avery is going to do what I need. (Thanks for the info, Adrian.) So I thought about doing it by outputing the data to be printed to a file and have a .bat send the content to lpt1: The batch file just contains: type 1.txt lpt1: Sadly, I'm seeing nothing hit the printer. Does anyone have any idea what the issue is here please? Thanks, Jenny cfquery name=jobs datasource=#application.dsn# SELECT top 1 * FROM List_jobs_full ORDER BY List_jobs_full.jobID desc /cfquery cfsavecontent variable=print cfoutput cfloop from=1 to=#jobs.items# index=i table width=600 border=0 cellspacing=0 cellpadding=3 tr tdItem: #i# of #jobs.items#/td tdnbsp;/td /tr tr td width=50%strongDELIVER TO:br #jobs.name#br #jobs.depart#br #jobs.org#br #jobs.bname#br #jobs.address#br #jobs.town#br #jobs.phone# br #jobs.postcode#/strong/td td width=50%SENDER:br #jobs.Company#br #jobs.Add1#br #jobs.Add2#br #jobs.City#br #jobs.County#br #jobs.Country#br #jobs.CustPcode#br #jobs.Telephone#/td /tr tr tdnbsp;/td tdnbsp;/td /tr tr td colspan=2#jobs.special#/td /tr /table /cfloop /cfoutput /cfsavecontent Cffile action=write file=C:\inetpub\lbcouriers.fasttrackonline.co.uk\management\jobs\print\1.txt output=#print# addnewline=no cfexecute name=C:\inetpub\lbcouriers.fasttrackonline.co.uk\management\jobs\print\print.bat/cfexecute -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.5.2/329 - Release Date: 02/05/2006 ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239361 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Printing from CF
Have you tried printing from PDF? That might negate the evils of browser printing... :d On 5/3/06, Jenny Gavin-Wear [EMAIL PROTECTED] wrote: Unfortunately it doesn't look like cf_avery is going to do what I need. (Thanks for the info, Adrian.) So I thought about doing it by outputing the data to be printed to a file and have a .bat send the content to lpt1: The batch file just contains: type 1.txt lpt1: Sadly, I'm seeing nothing hit the printer. Does anyone have any idea what the issue is here please? Thanks, Jenny cfquery name=jobs datasource=#application.dsn# SELECT top 1 * FROM List_jobs_full ORDER BY List_jobs_full.jobID desc /cfquery cfsavecontent variable=print cfoutput cfloop from=1 to=#jobs.items# index=i table width=600 border=0 cellspacing=0 cellpadding=3 tr tdItem: #i# of #jobs.items#/td tdnbsp;/td /tr tr td width=50%strongDELIVER TO:br #jobs.name#br #jobs.depart#br #jobs.org#br #jobs.bname#br #jobs.address#br #jobs.town#br #jobs.phone# br #jobs.postcode#/strong/td td width=50%SENDER:br #jobs.Company#br #jobs.Add1#br #jobs.Add2#br #jobs.City#br #jobs.County#br #jobs.Country#br #jobs.CustPcode#br #jobs.Telephone#/td /tr tr tdnbsp;/td tdnbsp;/td /tr tr td colspan=2#jobs.special#/td /tr /table /cfloop /cfoutput /cfsavecontent Cffile action=write file=C:\inetpub\lbcouriers.fasttrackonline.co.uk\management\jobs\print\1.txt output=#print# addnewline=no cfexecute name=C:\inetpub\lbcouriers.fasttrackonline.co.uk\management\jobs\print\print.bat/cfexecute -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.5.2/329 - Release Date: 02/05/2006 ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239431 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Printing from CF
The batch file just contains: type 1.txt lpt1: Sadly, I'm seeing nothing hit the printer. Does anyone have any idea what the issue is here please? Is it possible that lpt1 is mapped to something on a network, rather than a local printer? Do a NET USE at a command prompt to see what mappings are there. Also, you are outputting html to send directly to the printer...I don't know of a printer that would interpret that...it would most likely just print out the html as-is. You may need to convert your HTML to PS (which there are scripts out there for doing...I've mainly seen perl and PHP based ones, though). Or the printer may have its own printer control language that you could reproduce...I've seen some specialty printers like this in the past (thermal ticket printers, actually). If you have the driver for the printer installed, you might try setting the printer driver to print to file, then examine the resulting file that it outputs...it may be something hackablethen that could be sent to the print queue using your batch file. -- Jim Wright Wright Business Solutions [EMAIL PROTECTED] 919-417-2257 ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239442 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Printing from CF
I dont think its got anything specifically to do with CF. What you're talking about is the output, display side, and your content can come from anywhere. What you need to do is make CF output the correct content, then use a print style sheet to format it onto label stock. I'd be handling it like this: Have CF output the labels as follows: div class=label cfoutput#name#br / #address#br / #address2#br / #town# #state# #Postcode#br / /cfoutput/div Then have your style sheet be included as a print sheet, and have each div class=label float left. Cheers Mike Kear Windsor, NSW, Australia Certified Advanced ColdFusion Developer AFP Webworks http://afpwebworks.com ColdFusion, PHP, ASP, ASP.NET hosting from AUD$15/month On 4/30/06, Jenny Gavin-Wear [EMAIL PROTECTED] wrote: Hi all, I've putting together an application for a courier and they need to have address labels printed for each consignment. I'm running CFMX 6.1, and they have given me a specialised label printer to play with. Can anyone give me some advice on printing from CF please? Thanks, Jenny ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239127 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Printing from CF
cfdocument and/or cf_avery can work nicely for this. Adrian -Original Message- From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED] Sent: 30 April 2006 01:26 To: CF-Talk Subject: Printing from CF Hi all, I've putting together an application for a courier and they need to have address labels printed for each consignment. I'm running CFMX 6.1, and they have given me a specialised label printer to play with. Can anyone give me some advice on printing from CF please? Thanks, Jenny ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239130 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Printing from CF
The printing should be done client side, not via CF. If you printed via CF it would be printed on the server, which wouldn't be much good to anyone. You can use cfdocument to generate your output into a format that they can print from the browser. snake -Original Message- From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED] Sent: 30 April 2006 01:26 To: CF-Talk Subject: Printing from CF Hi all, I've putting together an application for a courier and they need to have address labels printed for each consignment. I'm running CFMX 6.1, and they have given me a specialised label printer to play with. Can anyone give me some advice on printing from CF please? Thanks, Jenny -- No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.1.385 / Virus Database: 268.5.1/327 - Release Date: 28/04/2006 ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239132 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Printing from CF
The printing should be done client side, not via CF. If you printed via CF it would be printed on the server, which wouldn't be much good to anyone. While this is almost certainly true in the original poster's case, I'll just go ahead and point out that it's not always the case. I've worked on applications where server-side printing is what's needed. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239140 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Printing from CF
thanks Dave, i need both ... anyone have a link to cf_avery please? Thanks all for replies :-) I'm thinking of creating a text file to be printed and sending it out to lpt with a batch file .. :-S The printers are all going to be thermal label printers. Ant better ideas welcomed, thanks -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: 30 April 2006 18:24 To: CF-Talk Subject: RE: Printing from CF The printing should be done client side, not via CF. If you printed via CF it would be printed on the server, which wouldn't be much good to anyone. While this is almost certainly true in the original poster's case, I'll just go ahead and point out that it's not always the case. I've worked on applications where server-side printing is what's needed. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239145 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Printing from CF
If your solution comes from beyond the list, please post back. I am in need of the same functionality. I currently cut and paste, quite bothersome and clumsy. Mark ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239146 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Printing from CF
FWIW, I would strongly recommend not printing on the server. If you do in fact need server-side printing (as in printing where the server is located) then get a dedicated box running some client app that does the printing. I have seen servers to bad things as a result of server-side printing, from problems as simple as printer error message popping up waiting for someone to click OK, and worse. Get a cheap machine that does nothing but spew print jobs as needed. --- Ben -Original Message- From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED] Sent: Sunday, April 30, 2006 2:49 PM To: CF-Talk Subject: RE: Printing from CF thanks Dave, i need both ... anyone have a link to cf_avery please? Thanks all for replies :-) I'm thinking of creating a text file to be printed and sending it out to lpt with a batch file .. :-S The printers are all going to be thermal label printers. Ant better ideas welcomed, thanks -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: 30 April 2006 18:24 To: CF-Talk Subject: RE: Printing from CF The printing should be done client side, not via CF. If you printed via CF it would be printed on the server, which wouldn't be much good to anyone. While this is almost certainly true in the original poster's case, I'll just go ahead and point out that it's not always the case. I've worked on applications where server-side printing is what's needed. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239148 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Printing from CF
thanks Ben, good advice Jenny -Original Message- From: Ben Forta [mailto:[EMAIL PROTECTED] Sent: 30 April 2006 20:27 To: CF-Talk Subject: RE: Printing from CF FWIW, I would strongly recommend not printing on the server. If you do in fact need server-side printing (as in printing where the server is located) then get a dedicated box running some client app that does the printing. I have seen servers to bad things as a result of server-side printing, from problems as simple as printer error message popping up waiting for someone to click OK, and worse. Get a cheap machine that does nothing but spew print jobs as needed. --- Ben -Original Message- From: Jenny Gavin-Wear [mailto:[EMAIL PROTECTED] Sent: Sunday, April 30, 2006 2:49 PM To: CF-Talk Subject: RE: Printing from CF thanks Dave, i need both ... anyone have a link to cf_avery please? Thanks all for replies :-) I'm thinking of creating a text file to be printed and sending it out to lpt with a batch file .. :-S The printers are all going to be thermal label printers. Ant better ideas welcomed, thanks -Original Message- From: Dave Watts [mailto:[EMAIL PROTECTED] Sent: 30 April 2006 18:24 To: CF-Talk Subject: RE: Printing from CF The printing should be done client side, not via CF. If you printed via CF it would be printed on the server, which wouldn't be much good to anyone. While this is almost certainly true in the original poster's case, I'll just go ahead and point out that it's not always the case. I've worked on applications where server-side printing is what's needed. Dave Watts, CTO, Fig Leaf Software http://www.figleaf.com/ Fig Leaf Software provides the highest caliber vendor-authorized instruction at our training centers in Washington DC, Atlanta, Chicago, Baltimore, Northern Virginia, or on-site at your location. Visit http://training.figleaf.com/ for more information! ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:239149 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Printing HTML then CFR
Using javascript, yes. Hang on...if they're on two totally seperate pages then no. !//-- andy matthews web developer ICGLink, Inc. [EMAIL PROTECTED] 615.370.1530 x737 --//- -Original Message- From: Claremont, Timothy [mailto:[EMAIL PROTECTED] Sent: Friday, March 17, 2006 3:23 PM To: CF-Talk Subject: Printing HTML then CFR I have two reports that end users need to print out quite frequently. One of the reports is an HTML page that is optimized for printing, and the other is a CFR page that generates a PDF. So, the end user visits a web page, and presses the print button that I have embedded in the page. Works great. Then the user opens another page (a cfr) and then hits another print button. Is it possible to hit one button and have BOTH of these reports print? ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please delete it from your system. This footnote also confirms that this email message has been swept for the presence of computer viruses. Thank You, Viahealth ** ~| Message: http://www.houseoffusion.com/lists.cfm/link=i:4:235668 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: printing
From: Simon Smith [mailto:[EMAIL PROTECTED] I'm looking to develop an intranet app, that will print a browser page without the number of prints etc window appearing. I have access to client browser if that helps Luckily it is not possible to print something without the printer dialogue, that is, user interaction. If it were your, printer tray would have more spam than your email inbox. I do recall some vbscript that you could use to do this, but that was awhile back and limits you to IE ActiveX. Mike ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222564 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: printing
Can't be done. If you are printing via the web it will always popup the Printer Dialog. -Original Message- From: Simon Smith [mailto:[EMAIL PROTECTED] Sent: 28 October 2005 14:39 To: CF-Talk Subject: printing HI, I'm looking to develop an intranet app, that will print a browser page without the number of prints etc window appearing. I have access to client browser if that helps anyone done anything similar ?? ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222565 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: printing
From: Simon Smith [mailto:[EMAIL PROTECTED] I'm looking to develop an intranet app, that will print a browser page without the number of prints etc window appearing. I have access to client browser if that helps Luckily it is not possible to print something without the printer dialogue, that is, user interaction. If it were your, printer tray would have more spam than your email inbox. I do recall some vbscript that you could use to do this, but that was awhile back and limits you to IE ActiveX. Mike IE ActiveX sound like the right combo, thanks will look into it Cheers Simon ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222568 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: printing
I have successfully used an ActiveX object called ScriptX (just Google it). They have a limited freeby and a more robust one for cost. This was using CF5 for an internal Work Order app where getting a quality printed Work Order was a pain in the butt. In this case it really needed to be printed in Landscape, which, of course, is never the default for any user. In my case, the page will print upon loading in a hidden iframe and I control Orientation, Margins, Header, and Footer. It has worked great, but I'm in an environment where IE is the standard. Now that I have CF 7, I will use cfdocument and spit out pdf's instead. Terry HI, I'm looking to develop an intranet app, that will print a browser page without the number of prints etc window appearing. I have access to client browser if that helps anyone done anything similar ?? ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:222570 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Printing with Coldfusion
Do you actually need to print it using a print driver, or just place the file in a queue folder on the printer's RIP? This is how I've typically handled such requests. On 8/31/05, Rick Root [EMAIL PROTECTED] wrote: I have a need for a coldfusion application to generate a document (possibly PDF) and then print it to a file using a printer driver installed on the server, and then perform an operation on that file (email, FTP, etc) The first and last parts are easy, the printing part I'm not so sure... Rick ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216987 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Printing with Coldfusion
You amy also be able to leverage javax.print via the JVM. I haven't tried it but from the docs it looks possible. http://java.sun.com/j2se/1.4.2/docs/api/javax/print/package-summary.html -Original Message- From: Jerry Johnson [mailto:[EMAIL PROTECTED] Sent: 31 August 2005 15:30 To: CF-Talk Subject: Re: Printing with Coldfusion Do you actually need to print it using a print driver, or just place the file in a queue folder on the printer's RIP? This is how I've typically handled such requests. On 8/31/05, Rick Root [EMAIL PROTECTED] wrote: I have a need for a coldfusion application to generate a document (possibly PDF) and then print it to a file using a printer driver installed on the server, and then perform an operation on that file (email, FTP, etc) The first and last parts are easy, the printing part I'm not so sure... Rick ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216988 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Printing with Coldfusion
If you just need the file, why not skip the printer driver? You can use CFDocument in CF7 to generate a PDF file, then do whatever you want with it (CFMail it, CFFtp it, etc.). -Joe On 8/31/05, Rick Root [EMAIL PROTECTED] wrote: I have a need for a coldfusion application to generate a document (possibly PDF) and then print it to a file using a printer driver installed on the server, and then perform an operation on that file (email, FTP, etc) The first and last parts are easy, the printing part I'm not so sure... Rick ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216989 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Printing with Coldfusion
Joe Rinehart wrote: If you just need the file, why not skip the printer driver? Because we need to generate a PCL file for a specific printer. Rick ~| Logware (www.logware.us): a new and convenient web-based time tracking application. Start tracking and documenting hours spent on a project or with a client with Logware today. Try it for free with a 15 day trial account. http://www.houseoffusion.com/banners/view.cfm?bannerid=67 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216991 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Printing with Coldfusion
Robertson-Ravo, Neil (RX) wrote: You amy also be able to leverage javax.print via the JVM. I haven't tried it but from the docs it looks possible. http://java.sun.com/j2se/1.4.2/docs/api/javax/print/package-summary.html I'll give this a whirl. If I can't figure it out we've got a VB programmer that I could probably entise to build a simple com object (or something) to do the job. Rick ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:216996 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Printing to label Printer in CF
This may not help much, but I remember an article in CFDJ about a year or two that describe exactly how to do this, create label layouts, with CSS. If your lucky, you may be able to find it in the archives or somewhere. -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA C code. C code run. Run code run. Please! - Cynthia Dunning Confidentiality Notice: This message including any attachments is for the sole use of the intended recipient(s) and may contain confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender and delete any copies of this message. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189530 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Printing to label Printer in CF
I'm pretty sure I saw someone mention a few weeks back that there is an Avery label specific CF tag in the Developers Exchange at MMs site. It should handle the formatting for you... HTH Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com - Original Message - From: Jeremy Bunton [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Thursday, January 06, 2005 8:16 AM Subject: Printing to label Printer in CF Hello, I have never tried to do this before so here goes. I need to print a label from a cf app that will contain various information Client name, job number, due date, client code, ect. This is part of our project management app and the labels will be used for folders. Any pointers on how to format for a label? Jeremy ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189531 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Printing to label Printer in CF
I had mentioned it last week. It works pretty cool, really slick, super neat, but not sure if it what you are looking for, but here is the link: http://www.houseoffusion.com/tiny.cfm/99http://www.houseoffusion.com/tiny.cfm/99 Ray At 11:34 AM 1/6/2005, you wrote: I'm pretty sure I saw someone mention a few weeks back that there is an Avery label specific CF tag in the Developers Exchange at MMs site. It should handle the formatting for you... HTH Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com - Original Message - From: Jeremy Bunton [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Thursday, January 06, 2005 8:16 AM Subject: Printing to label Printer in CF Hello, I have never tried to do this before so here goes. I need to print a label from a cf app that will contain various information Client name, job number, due date, client code, ect. This is part of our project management app and the labels will be used for folders. Any pointers on how to format for a label? Jeremy ~| Protect your mail server with built in anti-virus protection. It's not only good for you, it's good for everybody. http://www.houseoffusion.com/banners/view.cfm?bannerid=39 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189535 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Printing to label Printer in CF
On Thu, 6 Jan 2005 08:34:35 -0800, Bryan Stevenson [EMAIL PROTECTED] wrote: I'm pretty sure I saw someone mention a few weeks back that there is an Avery label specific CF tag in the Developers Exchange at MMs site. http://www.macromedia.com/cfusion/exchange/index.cfm#view=sn106viewName=Exchange%20Search%20Detailsloc=en_usauthorid=29645457page=0scrollPos=0subcatid=0snid=sn106itemnumber=0extid=1002428catid=0 -- Scott Stroz Boyzoid.com ___ Some days you are the dog, Some days you are the tree. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189539 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Printing to label Printer in CF
Caveat, though - I think you have to have M$Word installed for it to work. Ray At 11:50 AM 1/6/2005, you wrote: I had mentioned it last week. It works pretty cool, really slick, super neat, but not sure if it what you are looking for, but here is the link: http://www.houseoffusion.com/tiny.cfm/99http://www.houseoffusion.com/tiny.cfm/99 Ray At 11:34 AM 1/6/2005, you wrote: I'm pretty sure I saw someone mention a few weeks back that there is an Avery label specific CF tag in the Developers Exchange at MMs site. It should handle the formatting for you... HTH Cheers Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com - Original Message - From: Jeremy Bunton [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Thursday, January 06, 2005 8:16 AM Subject: Printing to label Printer in CF Hello, I have never tried to do this before so here goes. I need to print a label from a cf app that will contain various information Client name, job number, due date, client code, ect. This is part of our project management app and the labels will be used for folders. Any pointers on how to format for a label? Jeremy ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189540 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Printing to label Printer in CF
Cool thanks all, I'll take a peek at it. -Original Message- From: Scott Stroz [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 11:53 AM To: CF-Talk Subject: Re: Printing to label Printer in CF On Thu, 6 Jan 2005 08:34:35 -0800, Bryan Stevenson [EMAIL PROTECTED] wrote: I'm pretty sure I saw someone mention a few weeks back that there is an Avery label specific CF tag in the Developers Exchange at MMs site. http://www.macromedia.com/cfusion/exchange/index.cfm#view=sn106viewName=Exc hange%20Search%20Detailsloc=en_usauthorid=29645457page=0scrollPos=0subc atid=0snid=sn106itemnumber=0extid=1002428catid=0 -- Scott Stroz Boyzoid.com ___ Some days you are the dog, Some days you are the tree. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189542 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Printing to label Printer in CF
Has anyone used that tag under mX6 or 6.1? Jeremy -Original Message- From: Scott Stroz [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 11:53 AM To: CF-Talk Subject: Re: Printing to label Printer in CF On Thu, 6 Jan 2005 08:34:35 -0800, Bryan Stevenson [EMAIL PROTECTED] wrote: I'm pretty sure I saw someone mention a few weeks back that there is an Avery label specific CF tag in the Developers Exchange at MMs site. http://www.macromedia.com/cfusion/exchange/index.cfm#view=sn106viewName=Exc hange%20Search%20Detailsloc=en_usauthorid=29645457page=0scrollPos=0subc atid=0snid=sn106itemnumber=0extid=1002428catid=0 -- Scott Stroz Boyzoid.com ___ Some days you are the dog, Some days you are the tree. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189543 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Printing to label Printer in CF
I am using it - it seems to work fine, I have not encountered any bugs, except for the fact that the little optional barcode on the label doesn't center at all. Of course, this may be a user-error (me), or it might be a hiccup in Word. Not sure, but I just turned this feature off in the code and forgot about it. Other than that, it works great under 6.1. Ray At 12:19 PM 1/6/2005, you wrote: Has anyone used that tag under mX6 or 6.1? Jeremy -Original Message- From: Scott Stroz [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 11:53 AM To: CF-Talk Subject: Re: Printing to label Printer in CF On Thu, 6 Jan 2005 08:34:35 -0800, Bryan Stevenson [EMAIL PROTECTED] wrote: I'm pretty sure I saw someone mention a few weeks back that there is an Avery label specific CF tag in the Developers Exchange at MMs site. http://www.macromedia.com/cfusion/exchange/index.cfm#view=sn106viewName=Exc hange%20Search%20Detailsloc=en_usauthorid=29645457page=0scrollPos=0subc atid=0snid=sn106itemnumber=0extid=1002428catid=0 -- Scott Stroz Boyzoid.com ___ Some days you are the dog, Some days you are the tree. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189544 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Printing to label Printer in CF / Selecting the printer?
I think that this subject was touched upon the other day. And, I think that the answer was that you cannot interact with the user's print preferences. Ray At 01:32 PM 1/6/2005, you wrote: How about this one. We have 3 printers here with one being our main printer and one with nicer color one and then we will soon have a little label printer. Everyone pretty much has their default printer set to the laser. So the question is - is there a method I could use to have a label printer on the label printer when the user hits the print this label button? With out them having to change or select a printer. Jeremy -Original Message- From: Scott Stroz [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 11:53 AM To: CF-Talk Subject: Re: Printing to label Printer in CF On Thu, 6 Jan 2005 08:34:35 -0800, Bryan Stevenson [EMAIL PROTECTED] wrote: I'm pretty sure I saw someone mention a few weeks back that there is an Avery label specific CF tag in the Developers Exchange at MMs site. http://www.macromedia.com/cfusion/exchange/index.cfm#view=sn106viewName=Exc hange%20Search%20Detailsloc=en_usauthorid=29645457page=0scrollPos=0subc atid=0snid=sn106itemnumber=0extid=1002428catid=0 -- Scott Stroz Boyzoid.com ___ Some days you are the dog, Some days you are the tree. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189553 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Printing to label Printer in CF / Selecting the printer?
You cannot control the user's computer in this regard. Think about it, would you really want some random website running commands that takes over your computer like that? -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include stdjoke.h -Original Message- From: Jeremy Bunton [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 1:33 PM To: CF-Talk Subject: Printing to label Printer in CF / Selecting the printer? How about this one. We have 3 printers here with one being our main printer and one with nicer color one and then we will soon have a little label printer. Everyone pretty much has their default printer set to the laser. So the question is - is there a method I could use to have a label printer on the label printer when the user hits the print this label button? With out them having to change or select a printer. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189560 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Printing to label Printer in CF / Selecting the printer?
You CAN print to a specific printer IF: -printer is connected to the CF server I've never done it...but I've seen lots of folks do it Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com - Original Message - From: Damien McKenna [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Thursday, January 06, 2005 11:09 AM Subject: RE: Printing to label Printer in CF / Selecting the printer? You cannot control the user's computer in this regard. Think about it, would you really want some random website running commands that takes over your computer like that? -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include stdjoke.h -Original Message- From: Jeremy Bunton [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 1:33 PM To: CF-Talk Subject: Printing to label Printer in CF / Selecting the printer? How about this one. We have 3 printers here with one being our main printer and one with nicer color one and then we will soon have a little label printer. Everyone pretty much has their default printer set to the laser. So the question is - is there a method I could use to have a label printer on the label printer when the user hits the print this label button? With out them having to change or select a printer. ~| Find out how CFTicket can increase your company's customer support efficiency by 100% http://www.houseoffusion.com/banners/view.cfm?bannerid=49 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189561 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Printing to label Printer in CF / Selecting the printer?
You can do it if the printer is networked with the cf server. I've done it. Matthew Small Web Developer American City Business Journals 704-973-1045 [EMAIL PROTECTED] -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 2:12 PM To: CF-Talk Subject: Re: Printing to label Printer in CF / Selecting the printer? You CAN print to a specific printer IF: -printer is connected to the CF server I've never done it...but I've seen lots of folks do it Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com - Original Message - From: Damien McKenna [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Thursday, January 06, 2005 11:09 AM Subject: RE: Printing to label Printer in CF / Selecting the printer? You cannot control the user's computer in this regard. Think about it, would you really want some random website running commands that takes over your computer like that? -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include stdjoke.h -Original Message- From: Jeremy Bunton [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 1:33 PM To: CF-Talk Subject: Printing to label Printer in CF / Selecting the printer? How about this one. We have 3 printers here with one being our main printer and one with nicer color one and then we will soon have a little label printer. Everyone pretty much has their default printer set to the laser. So the question is - is there a method I could use to have a label printer on the label printer when the user hits the print this label button? With out them having to change or select a printer. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189562 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
RE: Printing to label Printer in CF / Selecting the printer?
We keep our servers at a co-location facility and the printer will be here in corporate headquarters. I guess I will just have to expect people to select the proper printer when they are printing a new label. -Original Message- From: Matthew Small [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 2:15 PM To: CF-Talk Subject: RE: Printing to label Printer in CF / Selecting the printer? You can do it if the printer is networked with the cf server. I've done it. Matthew Small Web Developer American City Business Journals 704-973-1045 [EMAIL PROTECTED] -Original Message- From: Bryan Stevenson [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 2:12 PM To: CF-Talk Subject: Re: Printing to label Printer in CF / Selecting the printer? You CAN print to a specific printer IF: -printer is connected to the CF server I've never done it...but I've seen lots of folks do it Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com - Original Message - From: Damien McKenna [EMAIL PROTECTED] To: CF-Talk cf-talk@houseoffusion.com Sent: Thursday, January 06, 2005 11:09 AM Subject: RE: Printing to label Printer in CF / Selecting the printer? You cannot control the user's computer in this regard. Think about it, would you really want some random website running commands that takes over your computer like that? -- Damien McKenna - Web Developer - [EMAIL PROTECTED] The Limu Company - http://www.thelimucompany.com/ - 407-804-1014 #include stdjoke.h -Original Message- From: Jeremy Bunton [mailto:[EMAIL PROTECTED] Sent: Thursday, January 06, 2005 1:33 PM To: CF-Talk Subject: Printing to label Printer in CF / Selecting the printer? How about this one. We have 3 printers here with one being our main printer and one with nicer color one and then we will soon have a little label printer. Everyone pretty much has their default printer set to the laser. So the question is - is there a method I could use to have a label printer on the label printer when the user hits the print this label button? With out them having to change or select a printer. ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189563 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Printing to label Printer in CF / Selecting the printer?
Yep Bryan Stevenson B.Comm. VP Director of E-Commerce Development Electric Edge Systems Group Inc. phone: 250.480.0642 fax: 250.480.1264 cell: 250.920.8830 e-mail: [EMAIL PROTECTED] web: www.electricedgesystems.com ~| Discover CFTicket - The leading ColdFusion Help Desk and Trouble Ticket application http://www.houseoffusion.com/banners/view.cfm?bannerid=48 Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189564 Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4 Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4 Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4 Donations Support: http://www.houseoffusion.com/tiny.cfm/54
Re: Printing Multiple Files All dynamically created or linked through Cold Fusion - Now desperate
Have you thought about having the system create a ZIP on a scheduled basis (use a scheduled task that runs every night and creates an updated ZIP file), then provide the user with a static link to the archive. That would not provide the required printing however it would get the documents to the user. Hatton [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
Re: Printing Multiple Files All dynamically created or linked through Cold Fusion - Now desperate
Already have it as that is one of the functions as well. It's not the distribution of the documents as much as it is making it easy to print. There can be between 1 and 50+ products that have a 3 page questionare associated with them. On top of that - I can have up to 10 documents - images, docs, txts .xls files associated with them. This user (not always going to be the brightest) has to print everything out in a specific order. Otherwise I am forcing the user to print everything associated at the right time. To complicate it more -the dynamic html page that has the products is all one long document with forced page breaks. I demo'd every convert to PDF function possible - but because I need to support a handful of documents it's not the best route. I can use cfcontent to view all these documents - but have no way of controlling any functionality - even back or next buttons since cfsavcontent on displaying something like doc or pdf takes over 100% of the page. I can't believe that right now it looks as if there is no way to pull all these formats together through coldfusion to control the printing. Ideally I would love just one long document - be it doc or pdf - but would settle for some technique to loop through a list of files to print spawning the text box and on each return to page automatically trigger another print process. jay Have you thought about having the system create a ZIP on a scheduled basis (use a scheduled task that runs every night and creates an updated ZIP file), then provide the user with a static link to the archive. That would not provide the required printing however it would get the documents to the user. Hatton [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings] [Donations and Support]
RE: Printing Labels from a Web Application?
This presentation sends HTML/CSS/XML to MS Word and includes examples on creating Avery labels. http://www.rewindlife.com/archives/32.cfm HTH, Sam Blog http://www.rewindlife.com TeamMM http://www.macromedia.com/go/team -Original Message- From: Oliver Cookson [mailto:[EMAIL PROTECTED] Sent: Monday, April 19, 2004 10:22 AM To: CF-Talk Subject: Printing Labels from a Web Application? Hi, I have just built e-commerce based web app but there is a need to print labels from within the back office to a laser jet with Avery A4 address labels. I could possibly use a Dymo 320 label writer instead. Luckily the back office is only viewed by IE6. If I was going to use the Avery method I'm unsure how to lay it out? Of course I could use CSS absolute positioning but what happens when I'm printing to the label on the 2nd row or 2nd column etc... I was thinking of using JS to position the labels dependent on what row\col I needed to print on but this could be cumbersome. I would only need to print one label at a time. So does anyone know of a way of integrating a semi-automated labelling system into the back office of a web application? If someone out there has solved this issue before I would greatly appreciate any thoughts on the matter before I try and reinvent the wheel myself! Any thoughts would be appreciated. Thanks Oliver [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Printing Labels from a Web Application?
Any thoughts would be appreciated. We've done this before as part of mail merges using CF_AveryRTF which has been fairly successful.You can get the tag from the devex here: http://short.badpen.com/?B295NO42 HTH, Tim. -- --- CF_CodingContest mode=judging newentries=false Maze Solver - http://tech.badpen.com/cfcontest/ --- RAWNET LTD - Internet, New Media and ebusiness Gurus. WE'VE MOVED - for our new address, please visit our website at http://www.rawnet.com/ or call us any time on 0800 294 24 24. --- This message may contain information which is legally privileged and/or confidential.If you are not the intended recipient, you are hereby notified that any unauthorised disclosure, copying, distribution or use of this information is strictly prohibited. Such notification notwithstanding, any comments, opinions, information or conclusions expressed in this message are those of the originator, not of rawnet limited, unless otherwise explicitly and independently indicated by an authorised representative of rawnet limited. --- [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Printing Labels from a Web Application?
Any thoughts would be appreciated. If you have Crystal Reports, perhaps you could use that: http://www.windowatch.com/2004/april/crystal10_4.html Sincerely, Andrew Tim. -- --- CF_CodingContest mode=judging newentries=false Maze Solver - http://tech.badpen.com/cfcontest/ --- RAWNET LTD - Internet, New Media and ebusiness Gurus. WE'VE MOVED - for our new address, please visit our website at http://www.rawnet.com/ or call us any time on 0800 294 24 24. --- This message may contain information which is legally privileged and/or confidential.If you are not the intended recipient, you are hereby notified that any unauthorised disclosure, copying, distribution or use of this information is strictly prohibited. Such notification notwithstanding, any comments, opinions, information or conclusions expressed in this message are those of the originator, not of rawnet limited, unless otherwise explicitly and independently indicated by an authorised representative of rawnet limited. --- _ [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]
RE: Printing Labels from a Web Application?
There is an old article (Last year I believe) in the Cold Fusion Developer's Journal to to just this.Print labels and other highly formatted content.I'm afraid I don't have the opportunity to look up the article just now, but I'll try it later today if nobody else can find it. HTH -- Ian Skinner Web Programmer BloodSource www.BloodSource.org Sacramento, CA C code. C code run. Run code run. Please! - Cynthia Dunning [Todays Threads] [This Message] [Subscription] [Fast Unsubscribe] [User Settings]