Questions tagged as 'print'

3
answers

Delete space between two print

How can I eliminate the space between 2 print different in Python? For example: num = raw_input() num = float(num) result="" while num>=1000: result+= "M" num = num - 1000 if num>=900: result+= "CM", num=num-900 if...
asked by 16.05.2018 / 23:49
2
answers

It is possible to print this with "for" or some other way

package seguimiento; public class Asteriscos { public static void main(String[] args) { Asteriscos objAsteriscos=new Asteriscos(); objAsteriscos.imprimirAsteriscos(); } public void imprimirAsteriscos() { Sys...
asked by 06.03.2018 / 01:10
2
answers

Print object from an arraylist [duplicate]

When trying to print the list of objects I get the error of java.lang.NullPointerException public Productos(int id, int precio, String nombre) { this.id = id; this.precio = precio; this.nombre = nombre; } public int getId() {...
asked by 11.12.2018 / 20:48
1
answer

How to print a DIV without losing my CSS styles

I want to print the contents of a DIV, however it loses the styles. This is the preview of the print, as you can see it loses all styles: c ... this the code that I have ... If someone has some code that works, I would appreciate...
asked by 26.10.2018 / 09:25
0
answers

Error printing in widnows using PHP escpos

I'm trying to print using PHP in windows, for that I'm using the PHP escpos-php library. The point is that I can print, but I need you to print a PDF or an .html file, but I do not get an error in both. Error when I try to print a pdf: load...
asked by 18.10.2018 / 12:28
0
answers

PrinterMatrix does not print me a ticket

This is my code .. something that is wrong? public void imprimirFactura(String codigo){ String sql="SELECT cliente.'c_razonsocial' AS cliente_c_razonsocial, ...." conexion cc=new conexion(); Connection cn=cc.conexion(); ResultSe...
asked by 16.10.2018 / 19:32
0
answers

Print a DIV from jQuery with CSS and in A5

I try to print a div, from jQuery, in the following way: function printDiv(divVer) { var printContents = document.getElementById(divVer).innerHTML; var document_html = window.open("_blank"); document_html.document.write( "<html&...
asked by 29.08.2018 / 18:39
0
answers

How can I print my complete invoice in c #?

I have a software made in c #, for the impressions but when I print I printed a piece of the invoice, Invoice must be the printed points of sales as the Star SP500 printer. This is the code I use for printing. private void DocumentoFactura_Pri...
asked by 30.07.2018 / 18:53
2
answers

print a variable [closed]

For example: edad = 18 print("Tengo %d años) % edad According to what they told me, I had to formulate it like this but I'm getting this error:    TypeError: unsupported operand type (s) for%: 'NoneType' and 'int'     
asked by 07.06.2018 / 08:06
0
answers

Print from php to different mini-printers

Hi, I'm doing a project with php, mysql using mini-printers ... so far I've already managed to print on the server machine called " SERVER " and the printer is called " > PRINT1 ", this is the code I use and everything is fine require '../LIB...
asked by 28.05.2018 / 19:32