Ask a Question related to Coldfusion Database Access, Design and Development.
-
Mdemahy #1
Re: Automatic Printing
This can be done with adobe reader.
We use the attached code to automtically print the page and close the document
when it is opened and the print_now field is set to "Y". The attached code is
in the page properties, actions, Page Open trigger. This is java script.
// this logic used for automatic printing
var h = this.getField("print_now");
if (h.value == "Y"){
var pp = this.getPrintParams();
pp.interactive= pp.constants.interactionLevel.silent;
this.print(pp);
getURL(f.value);
}
Mdemahy Guest
-
Automatic Duplex Printing
Is it possible to embed printing preferences into a PDF? I'm creating an 2 page application that needs to be sent to several other employees at my... -
Freehand printing - right margin decreases when printing multiple copies of file.
I'm using Freehand mx. Everytime I print more than one copy of a file, the right margin decreases. Thus, if I print five or six copies of a file,... -
Printing an automatic date
I am using an IBM ThinkCenter, P4. Have Windows XP. In 5.0 I used the Format tab and set the date field and created a javascript for this message... -
Printing Dynamically Insantiated MovieClips (multi-page printing)
I can create multiple pages with just one prompt with new PrinJob() object in Flash MX2004; but ... .... when I try to addpages which is one... -
Printing without showing the printing dialog window
hey - did you ever figure out a solution to the printing without dialog issue? i'm trying to get around the same problem myself. thanks! -jason -
ChrisAmaro #2
Re: Automatic Printing
Mdehamy,
Could you elaborate a bit on your script? specifically, are you exporting
documents using cfdocument into pdf files and then executing adobe reader to
auto-print them and then close adobe reader? If so, can it be used with cfloop?
For instance, I've been trying to write a script that will take a list of
invoice data each week, print a receipt & check for each invoice onto a printer
thats executed by the cf scheduler...but I just can't get past that auto-print
or silent-print roadblock.
ChrisAmaro Guest
-
trojnfn #3
Automatic Printing
Is it possible to automatically print a page ?
After I retrieve my desired info from the database, I output the data to the
screen in a table format.
But I want to automatically send it to a printer. If I have the ip, printer
name, domain, etc., is there a tag or command where I can put in one of these
items to automatically send the output to the printer ?
I have a javascript print command but there is still intervention and it is
not automatic and I want it to print automatically.
trojnfn Guest
-
jdeline #4
Re: Automatic Printing
Can you call your JavaScript print function from the <BODY>?
jdeline Guest
-
cf_menace #5
Re: Automatic Printing
All the Javascript print() function does is call the same functionality as if
you selected File > Print. Meaning you get the Print dialog box, which you need
to "OK" in order to send the document to the printer. AFAIK there's no way
around this for security reasons when you're dealing with a client computer.
cf_menace Guest



Reply With Quote

