I've stumbled across a problem way beyond my area of expertise, and I don't have a mentor to turn to for help with this.
I have a receipt printer I need to interface with through an iOS app. The printer is located on the same network as the device(s), so I can address it through supported "Line Mode commands"
What I'd like to do is kee...
Hi Guys,
I am currently developing a site which requires a print option on the page. When clicked this button fires a script that prints all contents within a <span id='printArea'></span>.
I am using a jQuery plugin called printElement at the moment and it works very well in all browsers that I have tested except Google Chrome.
I have...
Hi,
I'm new to Mono and I do not understand how this dialog and the PageSetupUnixDialog work
I have searched it on google for hours but i havn't found anything
So if you know a good tutorial please post the link, or if you hava a sample
I hope my english is not too bad,
so Thanks in advance
...
Hi,
I have following code :
System.out.println(" | 1 2 3 4 5 6 7 8 9");
System.out.println("----------------------------");
System.out.println("");
I use println to create a new line. Is it possible to do the same using \n or \r?
I tried to add \n to the second println statment and continue printing with the prin...
Hi guys
I want to print in awk line and character ' after the line, but awk put the character in the middle of the line. Here is my code :
awk -v d="'" {print $0 d}
i am using bash2
thanks for help
...
I am using JNLP which fetches my jar files to client. When I run the application, I am getting error with generating JasperPrint(NullPointerException).
I can figure out the cause partially. It is because JasperPrint instance cannot be stored on client side due to access permission.
Is there a way to generate JasperPrint on client side.
...
I have to create, read, update and delete network printers using c# and their associated ports. I have to deal with clustered print servers, so WMI is not an option. My first choice would be using prnadmin.dll, but I cannot find reliable information if this would work and is supported under windows server 2008 x64. Can anyone share his/h...
Dear friends,
I am working on an Adobe AIR (2.0) application that contains a feature to allow users to print documents (such as salary slips). Those documents are originally in PDF format. Due to circumstances we cannot directly display those PDFs in the AIR application (for example using flash.html.HTMLLoader). Therefore we convert the...
I'm trying to print a swing component to paper. It's basically an extended JPanel which hosts (among other things) multiple JTextFields. These fields look correct when viewed on the screen, but when printed to paper, the text in the fields is not printed correctly... in some fields, the spaces in between words is quite large, in other fi...
We are printing pdf from winform application. We are creating pdf file using infragistics report and printing it without opening it. following is the source code for printing it using default printer.
protected Report _report = new Infragistics.Documents.Report.Report();
var printDocument = new PrintDocument();
_report.Preferences.Pri...
I'm thinking of using a print style sheet to fill out a preprinted paper form. So lets say you had a piece of paper that looked like this:
Name: ________________________
Address: _____________________
City: ________________________
State: _______________________
Zip: _________________________
Favorite ice cream: __________
I would wan...
I have a rather large table data I need to print, but when I go to Print Preview or Print, I only see what's currently visible on the page, and not the entire content of the web page.
This happens in all browser. What could be causing this?
...
I want to print data present in Webbrowser Control. My data is loaded from datatable which contains HTML formatted text. When I tried to print it with RichTextBox it was not able to recognize HTML controls and was not able to render.
But when I tried to print using webbrowser control, noting gets printed. How to achieve this.
webBrowse...
I am trying to print web pages contains external css reference which uses web fonts (I mean @font-face attribute) but in print preview web fonts are disappeared , Could any one know a solution with out using the web font locally?
...
Hi all, I am able to print a chart from my c# project using:
chart1.Printing.PrintDocument.DocumentName = "Graph of data";
But is it possible to add a title to this? I was hoping the document name would achieve this, but apparently not!
Thanks..
...
very simple question. Lol i am embarassed to ask this cause i am usually very good with php but what are the ways to display html inside of php? for example:
<? if($flag): ?>
<div>This will show is $flag is true </div>
<? endif; ?>
OR
<?
if($flag)
echo '<div>This will show is $flag is true </div>';
?>
I know that ther...
is it possible to display constants php's EOT? for example:
<?
define('Hey', "HellO");
echo
<<<EOT
Hey
EOT;
?>
...
Hi - I have to print a file (plain text) using javax.print api's. I am able to lookup the printer and submit a print job. But i am able to only print one copy of the file. Below is the code i have been using.
None of the options/attributes i specified using the PrintRequestAttributeSet is recognized by the printer. Though i specify 2 co...
Hello, I'm wondering if anyone has had any experience modifying print settings via a web page. My overall goal would be to setup a print button on a web page
<a href="javascript:window.print()">Print This Page</a>
And at the same time modify the users print settings to print the page from a landscape view. Input on if this is even po...
What are the advantages of printing code? Of course it kills many trees, but I know that in many old-school environments (especially professors) some have asked for code printouts. Is there really any advantage to doing this except destroying the environment, such as facilitating code review?
...