打印身份证问题 [英] Problem in print id card

查看:82
本文介绍了打印身份证问题的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经完成了打印身份证的申请。我可以从两侧打印一张身份证,但现在我想在A4尺寸的纸张上打印10张正面和10张背面。我使用了groupbox。

I have done application for print id card. I can print one id card from both side but now I want to print at a time 10 front side and 10 back side on A4 size sheet. I used groupbox for it.

推荐答案



你可以使用循环。首先声明一个全局变量,如

int Frontside = 10;

在for循环打印你的身份证的第一个正面。

可能在同一个循环中或在另一个循环中你可以打印背面你身份证的一面。

现在增加Frontside = frontside + 10;依此类推......
Hi,
You can use looping .First Declare a global variable like
int Frontside=10;
in the for loop print first Front Side of your id card.
might be in same loop or in another loop you can print the back side of your id card.
now increment the Frontside=frontside+10; and so on...


这篇关于打印身份证问题的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆