Questions tagged as 'print'

1
answer

Print what is in a CANVAS HTML tag

I'm trying to print the content of a% HTML% tag, so everything goes perfectly, so what I'm doing through the div library is that you can write a text and add an image as shown below: CONTENT IMAGE But, when trying to print the...
asked by 29.06.2018 / 16:49
2
answers

how can I use this character (*) repeatedly in python3?

example: a=********** print'a' It shows me the following error OUTPUT: Traceback (most recent call last): File "python", line 1 a=********** ^ SyntaxError: invalid syntax     
asked by 03.10.2018 / 04:45
3
answers

Wait a while x after each print in Python 2.7.15

so far my code is something like: print "hola" time.sleep(1) print "mundo" time.sleep(1) if var == 0: print "hola" time.sleep(1) print "persona" time.sleep(1) else: pass and so after each print. The idea is to achieve a...
asked by 30.12.2018 / 06:48
3
answers

separate data from a mysql php field

I have this query in mysql that generates a print screen with a number <?php $contratos_query = tep_db_query("select * from " . TABLE_CONTRATOS . ""); $contratos = tep_db_fetch_array($contratos_query);?> The screen shows the...
asked by 18.01.2018 / 15:04
2
answers

Print tag html + bootstrap

I have the following box I want to print: Print function: //Imprimir $(document).on('click', '.imprimirDocumento', function() { var divToPrint = document.getElementById('impresion'); var newWin = window.open('', 'P...
asked by 23.02.2018 / 02:42
1
answer

How to print a very long Ticket using PrintDocument

I'm trying to print a ticket on a thermal printer, the information that the ticket must contain is enough so the ticket has a considerable length. I'm using a PrintDocument object to print the ticket, in the PrintPage event I use a Graphics obje...
asked by 10.05.2018 / 00:44
1
answer

I need to print from my executed program as a Windows service

I have a program created in Java that gets a PDF and prints it. To print it use ghostscript: public static void print(String nomImpresora, String rutaNombreArchivo, int cantVia) throws Exception { String cmd; cmd = "gswin64c -dPrinted...
asked by 13.07.2018 / 17:20
0
answers

How to set the Print button of the Preview to print directly?

I have the following function that prints to generate preview: <script src="Scripts/jquery-1.10.2.min.js"></script> <script> $(document).ready(function () { $("input#imprime").on('click', function (ev) {...
asked by 16.11.2017 / 17:30
1
answer

Print a DIV keeping the CSS

I try to print a "div" in which there is a "proof of an order, I can not keep the CSS styles when I open the print window. This is my function: function printDiv(divVer) { var printContents = document.getElementById(divVer).innerHTM...
asked by 30.08.2018 / 10:32
1
answer

print an area and delete link and page number

I have this function for the print button: <script src="js/jquery.PrintArea.js"></script> <script> $(document).ready(function(){ $("#printButton").click(function(){ var mode = 'iframe'; //popup var close...
asked by 05.07.2018 / 13:12